TLcdComplexPolygonContourFinder. 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.
TLcdPolylineContourFinderfinds contour lines of equal height, much like this class, except that it doesn't close the shapes to represent an area.
TLcdComplexPolygonContourFinderfinds complex polygons instead of the simple polygons of this class. This allows them to model interval areas with holes.
public class TLcdContourFactory extends java.lang.Object implements
ILcdContourFactoryto create an
ILcdValuedPolygonfrom separate arrays of x- and y-coordinates.
|Constructor and Description|
Constructs a new TLcdContourFactory.
|Modifier and Type||Method and Description|
public ILcdValuedPolygon createContour(double aXArray, double aYArray, int aNumberOfPoints, double aLevel)
ILcdValuedPolygonfrom 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:
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
ILcdPolygonconstructed from aXArray and aYArray.