Class TLcdContourFactory

java.lang.Object
com.luciad.geometry.cartesian.TLcdContourFactory
All Implemented Interfaces:
ILcdContourFactory

public class TLcdContourFactory extends Object implements ILcdContourFactory
Deprecated.
Use TLcdPolylineContourFinder or 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. 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.
An implementation of ILcdContourFactory to create an ILcdValuedPolygon from separate arrays of x- and y-coordinates.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Constructs a new TLcdContourFactory.
  • Method Summary

    Modifier and Type
    Method
    Description
    createContour(double[] aXArray, double[] aYArray, int aNumberOfPoints, double aLevel)
    Deprecated.
    Creates an ILcdValuedPolygon from separate arrays of x- and y-coordinates where only the first aNumberOfPoints are taken into account.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TLcdContourFactory

      public TLcdContourFactory()
      Deprecated.
      Constructs a new TLcdContourFactory.
  • Method Details

    • createContour

      public ILcdValuedPolygon createContour(double[] aXArray, double[] aYArray, int aNumberOfPoints, double aLevel)
      Deprecated.
      Description copied from interface: ILcdContourFactory
      Creates an 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:

      • CLOCKWISE: The area on just on the exterior of the polygon has a higher value than the interior.
      • COUNTER-CLOCKWISE: The area just on the exterior of the polygon has a lower value than the interior.
      Note that this orientation only says something about the immediate area surrounding the contour line, and not the entire area enclosed by the contour. For instance, it is possible to have a counter-clockwise oriented contour that contains other contours in its interior with lower values than itself.

      Specified by:
      createContour in interface ILcdContourFactory
      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 the ILcdValuedPolygon.
      Returns:
      An ILcdPolygon constructed from aXArray and aYArray.
      See Also: