public class TLcdLonLatContourFactory extends Object implementsILcdContourFactory
ILcdContourFactory
to create an
ILcdValuedPolygon
from separate arrays of x- and y-coordinates.Constructor and Description |
---|
TLcdLonLatContourFactory()
Constructs a new TLcdContourFactory.
|
Modifier and Type | Method and Description |
---|---|
ILcdValuedPolygon |
createContour(double[] aXArray,
double[] aYArray,
int aNumberOfPoints,
double aLevel)
Creates an
ILcdValuedPolygon from separate arrays of x- and y-coordinates
where only the first aNumberOfPoints are taken into account. |
public TLcdLonLatContourFactory()
public ILcdValuedPolygon createContour(double[] aXArray, double[] aYArray, int aNumberOfPoints, double aLevel)
ILcdContourFactory
ILcdValuedPolygon
from separate arrays of x- and y-coordinates
where only the first aNumberOfPoints are taken into account.
The edge of a polygon indicates a contour line of equal height. The orientation of the returned polygon should be interpreted as follows:
createContour
in interface ILcdContourFactory
aXArray
- The array of x-coordinates.aYArray
- The array of y-coordinates.aNumberOfPoints
- The number of coordinates to take into account.aLevel
- The level of the ILcdValuedPolygon
.ILcdPolygon
constructed from aXArray and aYArray.ILcdContourFactory