Interface ILcd2DEditablePointList

All Superinterfaces:
ILcdPointList, Serializable
All Known Subinterfaces:
ILcd2DEditablePolygon, ILcd2DEditablePolyline, ILcd2DEditablePolypoint, ILcd3DEditablePointList, ILcd3DEditablePolygon, ILcd3DEditablePolyline, ILcd3DEditablePolypoint, ILcdEditableAreaMinimumAltitude, ILcdEditableOrtca, ILcdEditableRestrictedLengthPointList, ILcdEditableRestrictedLengthPointList, ILcdEditableRunway, ILcdEditableVFRRoute
All Known Implementing Classes:
ALcd2DEditableFloatPolypoint, ALcd2DEditableLine, ALcd2DEditablePolypoint, ALcd3DEditableFloatPolypoint, ALcd3DEditableLine, ALcd3DEditablePolypoint, TLcd2DEditablePointList, TLcd2DEditablePointListLonLatFloatArray, TLcd2DEditablePointListXYFloatArray, TLcd3DEditablePointList, TLcdAISPolygon, TLcdAISPolyline, TLcdAreaMinimumAltitude, TLcdCGMPolygon, TLcdCGMPolyline, TLcdDGNCurve2D, TLcdDGNDimension, TLcdDGNFloatCurve2D, TLcdDGNFloatCurve3D, TLcdDGNFloatLine2D, TLcdDGNFloatLine3D, TLcdDGNFloatLineString2D, TLcdDGNFloatLineString3D, TLcdDGNFloatShape2D, TLcdDGNFloatShape3D, TLcdDGNLine2D, TLcdDGNLineString2D, TLcdDGNShape2D, TLcdDWGFace3D, TLcdDWGLine, TLcdDWGPolyline2D, TLcdDWGSolid, TLcdEditableAPP6AObject, TLcdEditableMS2525bObject, TLcdFeaturedAreaMinimumAltitude, TLcdFeaturedFinalApproachPath, TLcdFeaturedGeoborder, TLcdFeaturedOrtca, TLcdFeaturedRefuelingTrack, TLcdFeaturedRunway, TLcdFeaturedVFROffsetRoute, TLcdFeaturedVFRRoute, TLcdFinalApproachPath, TLcdGeoborder, TLcdGML2Coordinates, TLcdGML2LinearRing, TLcdGML2LineString, TLcdGML31Coordinates, TLcdGML31DirectPositionList, TLcdGML31Geodesic, TLcdGML31GeodesicString, TLcdGML31LinearRing, TLcdGML31LineString, TLcdGML31LineStringSegment, TLcdGML31Triangle, TLcdGML32Coordinates, TLcdGML32DirectPositionList, TLcdGML32Geodesic, TLcdGML32GeodesicString, TLcdGML32LinearRing, TLcdGML32LineString, TLcdGML32LineStringSegment, TLcdGML32Triangle, TLcdKML22Coordinates, TLcdKML22LinearRing, TLcdKML22LineString, TLcdLonLatBuffer, TLcdLonLatFloatPolygon, TLcdLonLatFloatPolygonCache, TLcdLonLatFloatPolyline, TLcdLonLatFloatPolylineCache, TLcdLonLatFloatPolypoint, TLcdLonLatFloatPolypointCache, TLcdLonLatHeightBuffer, TLcdLonLatHeightLine, TLcdLonLatHeightMPolygon, TLcdLonLatHeightMPolyline, TLcdLonLatHeightMPolypoint, TLcdLonLatHeightPolygon, TLcdLonLatHeightPolyline, TLcdLonLatHeightPolypoint, TLcdLonLatLine, TLcdLonLatMPolygon, TLcdLonLatMPolyline, TLcdLonLatMPolypoint, TLcdLonLatPolygon, TLcdLonLatPolyline, TLcdLonLatPolypoint, TLcdLonLatRhumbPolygon, TLcdLonLatRhumbPolyline, TLcdMeasureXYPolygon, TLcdMeasureXYPolyline, TLcdMeasureXYPolypoint, TLcdMeasureXYZPolygon, TLcdMeasureXYZPolyline, TLcdMeasureXYZPolypoint, TLcdNVG15Arrow, TLcdNVG15Corridor, TLcdNVG15Multipoint, TLcdNVG15Polygon, TLcdNVG15Polyline, TLcdNVG20Arrow, TLcdNVG20Corridor, TLcdNVG20LinearRing, TLcdNVG20MultiPoint, TLcdNVG20Orbit, TLcdNVG20Polyline, TLcdOrtca, TLcdRefuelingTrack, TLcdRunway, TLcdS57Edge, TLcdS57Face, TLcdS57Line, TLcdVFROffsetRoute, TLcdVFRRoute, TLcdXYFloatLine, TLcdXYFloatPolygon, TLcdXYFloatPolygonCache, TLcdXYFloatPolyline, TLcdXYFloatPolylineCache, TLcdXYFloatPolypoint, TLcdXYFloatPolypointCache, TLcdXYLine, TLcdXYMPolygon, TLcdXYMPolyline, TLcdXYMPolypoint, TLcdXYPolygon, TLcdXYPolyline, TLcdXYPolypoint, TLcdXYZFloatLine, TLcdXYZFloatPolygon, TLcdXYZFloatPolyline, TLcdXYZFloatPolypoint, TLcdXYZLine, TLcdXYZMPolygon, TLcdXYZMPolyline, TLcdXYZMPolypoint, TLcdXYZPolygon, TLcdXYZPolyline, TLcdXYZPolypoint

public interface ILcd2DEditablePointList extends ILcdPointList
An ILcd2DEditablePointList is an ILcdPointList in which points can be inserted, removed, and moved in two dimensions.

Note that the points obtained through ILcdPointList.getPoint(int) should not be cast to ILcd2DEditablePoint, instead you should use move2DPoint(int, double, double) or translate2DPoint(int, double, double).

  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    append2DPoint(double aX, double aY)
    Append a point at the end of this ILcd2DEditablePointList.
    void
    insert2DPoint(int aIndex, double aX, double aY)
    Inserts a point at the given index into this ILcd2DEditablePointList.
    void
    move2DPoint(int aIndex, double aX, double aY)
    Moves the specified point of this ILcd2DEditablePointList to the given point in the 2D space.
    void
    removePointAt(int aIndex)
    Removes the point at the given index from this ILcd2DEditablePointList.
    void
    translate2D(double aDeltaX, double aDeltaY)
    Translates all the points of this ILcd2DEditablePointList from their current positions over the given translation vector in the 2D space.
    void
    translate2DPoint(int aIndex, double aDeltaX, double aDeltaY)
    Translates the specified point of this ILcd2DEditablePointList from its current position over the given translation vector in the 2D space.

    Methods inherited from interface com.luciad.shape.ILcdPointList

    getPoint, getPointCount, getPointSFCT, getX, getY, getZ
  • Method Details

    • translate2D

      void translate2D(double aDeltaX, double aDeltaY)
      Translates all the points of this ILcd2DEditablePointList from their current positions over the given translation vector in the 2D space. Only the first two dimensions of the points are considered. The third dimension is left unchanged.
      Parameters:
      aDeltaX - the x coordinate of the translation vector.
      aDeltaY - the y coordinate of the translation vector.
    • move2DPoint

      void move2DPoint(int aIndex, double aX, double aY)
      Moves the specified point of this ILcd2DEditablePointList to the given point in the 2D space. Only the first two dimensions of the ILcdShape are considered. The third dimension is left unchanged.
      Parameters:
      aIndex - a valid index in the list of points.
      aX - the x coordinate of the point.
      aY - the y coordinate of the point.
    • translate2DPoint

      void translate2DPoint(int aIndex, double aDeltaX, double aDeltaY)
      Translates the specified point of this ILcd2DEditablePointList from its current position over the given translation vector in the 2D space. Only the first two dimensions of the points are considered. The third dimension is left unchanged.
      Parameters:
      aDeltaX - the x coordinate of the translation vector.
      aDeltaY - the y coordinate of the translation vector.
    • insert2DPoint

      void insert2DPoint(int aIndex, double aX, double aY)
      Inserts a point at the given index into this ILcd2DEditablePointList.
      Parameters:
      aIndex - a valid new index in the list of points.
      aX - the x coordinate of the new point.
      aY - the y coordinate of the new point.
    • append2DPoint

      default void append2DPoint(double aX, double aY)
      Append a point at the end of this ILcd2DEditablePointList. The default implementation delegates to insert2DPoint.
      Parameters:
      aX - the x coordinate of the new point.
      aY - the y coordinate of the new point.
      Since:
      2019.1
    • removePointAt

      void removePointAt(int aIndex)
      Removes the point at the given index from this ILcd2DEditablePointList.
      Parameters:
      aIndex - a valid index in the list of ILcdPoint objects.