Package com.luciad.tea
Class TLcdContourFactory
java.lang.Object
com.luciad.tea.TLcdContourFactory
- All Implemented Interfaces:
ILcdContourFactory
Deprecated.
An implementation of
ILcdContourFactory
to create an
ILcdValuedPolygon
from separate arrays of x- and y-coordinates.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateContour
(double[] aXArray, double[] aYArray, int aNumberOfPoints, double aLevel) Deprecated.Creates anILcdValuedPolygon
from separate arrays of x- and y-coordinates where only the first aNumberOfPoints are taken into account.
-
Constructor Details
-
TLcdContourFactory
public TLcdContourFactory()Deprecated.Constructs a new TLcdContourFactory.
-
-
Method Details
-
createContour
public ILcdContour createContour(double[] aXArray, double[] aYArray, int aNumberOfPoints, double aLevel) Deprecated.Description copied from interface:ILcdContourFactory
Creates anILcdValuedPolygon
from separate arrays of x- and y-coordinates where only the first aNumberOfPoints are taken into account.- Specified by:
createContour
in interfaceILcdContourFactory
- Parameters:
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 theILcdValuedPolygon
.- Returns:
- An
ILcdPolygon
constructed from aXArray and aYArray. - See Also:
-
TLcdPolylineContourFinder
orTLcdComplexPolygonContourFinder
. This class relies on deprecated contour finding algorithms. The output of the new contour finding algorithms are much more practical to work as they split up contours into two separate, disambiguous, concepts that can be retrieved individually.TLcdPolylineContourFinder
finds contour lines of equal height, much like this class, except that it doesn't close the shapes to represent an area.TLcdComplexPolygonContourFinder
finds complex polygons instead of the simple polygons of this class. This allows them to model interval areas with holes. This class has been kept for compatibility reasons with LuciadMap