Package com.luciad.shape
Interface ILcdPointList
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ILcd2DEditablePointList,ILcd2DEditablePolygon,ILcd2DEditablePolyline,ILcd2DEditablePolypoint,ILcd3DEditablePointList,ILcd3DEditablePolygon,ILcd3DEditablePolyline,ILcd3DEditablePolypoint,ILcdAirspace,ILcdAirspaceCorridor,ILcdAreaMinimumAltitude,ILcdComplexPolygon,ILcdEditableAirspace,ILcdEditableAirspaceCorridor,ILcdEditableAreaMinimumAltitude,ILcdEditableComplexPolygon,ILcdEditableFinalApproachPath,ILcdEditableHelipad,ILcdEditableOrtca,ILcdEditableParachuteJumpArea,ILcdEditableRefuelingAirspace,ILcdEditableRefuelingTrack,ILcdEditableRestrictedLengthPointList,ILcdEditableRestrictedLengthPointList,ILcdEditableRouteSegment,ILcdEditableRunway,ILcdEditableVFRRoute,ILcdFinalApproachPath,ILcdGDFLineFeature,ILcdGeoborder,ILcdHelipad,ILcdOrtca,ILcdParachuteJumpArea,ILcdPointList2,ILcdPolygon,ILcdPolyline,ILcdPolypoint,ILcdRefuelingAirspace,ILcdRefuelingTrack,ILcdRestrictedLengthPointList,ILcdRestrictedLengthPointList,ILcdRouteSegment,ILcdRunway,ILcdS57DepthAreaEdge,ILcdVFRRoute
- All Known Implementing Classes:
ALcd2DEditableFloatPolypoint,ALcd2DEditableLine,ALcd2DEditablePoint,ALcd2DEditablePolypoint,ALcd3DEditableFloatPolypoint,ALcd3DEditableLine,ALcd3DEditablePoint,ALcd3DEditablePolypoint,ALcdDiscretizedGeoPath,ALcdPoint,TLcd2DEditablePointList,TLcd2DEditablePointListLonLatFloatArray,TLcd2DEditablePointListXYFloatArray,TLcd3DEditablePointList,TLcdAirspace,TLcdAirspaceCorridor,TLcdAISPolygon,TLcdAISPolyline,TLcdAreaMinimumAltitude,TLcdASDIFlightPlan,TLcdASDIFlightPlanHistory,TLcdASDITrack,TLcdASDITrajectory,TLcdASTERIXPlot,TLcdASTERIXTrack,TLcdASTERIXTrajectory,TLcdCGMPolygon,TLcdCGMPolyline,TLcdComplexPolygon,TLcdDGNCurve2D,TLcdDGNDimension,TLcdDGNFloatCurve2D,TLcdDGNFloatCurve3D,TLcdDGNFloatLine2D,TLcdDGNFloatLine3D,TLcdDGNFloatLineString2D,TLcdDGNFloatLineString3D,TLcdDGNFloatShape2D,TLcdDGNFloatShape3D,TLcdDGNLine2D,TLcdDGNLineString2D,TLcdDGNShape2D,TLcdDiscretizedLonLatGeoPath,TLcdDWGFace3D,TLcdDWGLine,TLcdDWGPoint,TLcdDWGPolyline2D,TLcdDWGSolid,TLcdEditableAPP6AObject,TLcdEditableMS2525bObject,TLcdFeaturedAirspace,TLcdFeaturedAirspaceCorridor,TLcdFeaturedAreaMinimumAltitude,TLcdFeaturedFinalApproachPath,TLcdFeaturedGeoborder,TLcdFeaturedHelipad,TLcdFeaturedOrtca,TLcdFeaturedParachuteJumpArea,TLcdFeaturedRefuelingAirspace,TLcdFeaturedRefuelingTrack,TLcdFeaturedRouteSegment,TLcdFeaturedRunway,TLcdFeaturedVFROffsetRoute,TLcdFeaturedVFRRoute,TLcdFinalApproachPath,TLcdGeoborder,TLcdGML2Coordinates,TLcdGML2LinearRing,TLcdGML2LineString,TLcdGML2Polygon,TLcdGML31Coordinates,TLcdGML31DirectPositionList,TLcdGML31Geodesic,TLcdGML31GeodesicString,TLcdGML31LinearRing,TLcdGML31LineString,TLcdGML31LineStringSegment,TLcdGML31Triangle,TLcdGML32Coordinates,TLcdGML32DirectPositionList,TLcdGML32Geodesic,TLcdGML32GeodesicString,TLcdGML32LinearRing,TLcdGML32LineString,TLcdGML32LineStringSegment,TLcdGML32Triangle,TLcdHelipad,TLcdKML22Coordinates,TLcdKML22LinearRing,TLcdKML22LineString,TLcdLonLatBuffer,TLcdLonLatFloatPoint,TLcdLonLatFloatPolygon,TLcdLonLatFloatPolygonCache,TLcdLonLatFloatPolyline,TLcdLonLatFloatPolylineCache,TLcdLonLatFloatPolypoint,TLcdLonLatFloatPolypointCache,TLcdLonLatHeightBuffer,TLcdLonLatHeightLine,TLcdLonLatHeightMPoint,TLcdLonLatHeightMPolygon,TLcdLonLatHeightMPolyline,TLcdLonLatHeightMPolypoint,TLcdLonLatHeightPoint,TLcdLonLatHeightPolygon,TLcdLonLatHeightPolyline,TLcdLonLatHeightPolypoint,TLcdLonLatLine,TLcdLonLatMPoint,TLcdLonLatMPolygon,TLcdLonLatMPolyline,TLcdLonLatMPolypoint,TLcdLonLatPoint,TLcdLonLatPolygon,TLcdLonLatPolyline,TLcdLonLatPolypoint,TLcdLonLatRhumbPolygon,TLcdLonLatRhumbPolyline,TLcdLonLatZonalPoint,TLcdMeasureXYPoint,TLcdMeasureXYPolygon,TLcdMeasureXYPolyline,TLcdMeasureXYPolypoint,TLcdMeasureXYZPoint,TLcdMeasureXYZPolygon,TLcdMeasureXYZPolyline,TLcdMeasureXYZPolypoint,TLcdNVG15Arrow,TLcdNVG15Corridor,TLcdNVG15Multipoint,TLcdNVG15Polygon,TLcdNVG15Polyline,TLcdNVG20Arrow,TLcdNVG20Corridor,TLcdNVG20LinearRing,TLcdNVG20MultiPoint,TLcdNVG20Orbit,TLcdNVG20Polyline,TLcdOrtca,TLcdParachuteJumpArea,TLcdProcedureTrajectory,TLcdRefuelingAirspace,TLcdRefuelingTrack,TLcdRouteSegment,TLcdRunway,TLcdS57Area,TLcdS57Edge,TLcdS57Face,TLcdS57Line,TLcdS57Node,TLcdS57Point,TLcdS57SoundingPoint,TLcdSHPMultiPointZ,TLcdSHPPolygonZ,TLcdSHPPolylineZ,TLcdVFROffsetRoute,TLcdVFRRoute,TLcdXYFloatLine,TLcdXYFloatPoint,TLcdXYFloatPolygon,TLcdXYFloatPolygonCache,TLcdXYFloatPolyline,TLcdXYFloatPolylineCache,TLcdXYFloatPolypoint,TLcdXYFloatPolypointCache,TLcdXYLine,TLcdXYMPoint,TLcdXYMPolygon,TLcdXYMPolyline,TLcdXYMPolypoint,TLcdXYPoint,TLcdXYPolygon,TLcdXYPolyline,TLcdXYPolypoint,TLcdXYZFloatLine,TLcdXYZFloatPoint,TLcdXYZFloatPolygon,TLcdXYZFloatPolyline,TLcdXYZFloatPolypoint,TLcdXYZLine,TLcdXYZMPoint,TLcdXYZMPolygon,TLcdXYZMPolyline,TLcdXYZMPolypoint,TLcdXYZonalPoint,TLcdXYZPoint,TLcdXYZPolygon,TLcdXYZPolyline,TLcdXYZPolypoint
This interface presents an indexed list of
ILcdPoint objects.
The list can only be read, not modified.
Next to the getPoint(int) method, this interface offers additional methods that allow implementing low-memory
implementations of point lists (coordinates stored as primitive arrays instead of point instances), while still
maintaining high-performance access to the coordinate data.
-
Method Summary
Modifier and TypeMethodDescriptiongetPoint(int aIndex) Returns theILcdPointat a given index.intReturns the number ofILcdPointobjects in the list.default voidgetPointSFCT(int aIndex, ILcd3DEditablePoint aPointSFCT) Stores the coordinates of the point ataIndexin the given point.default doublegetX(int aIndex) Returns the X coordinate of the point ataIndex.default doublegetY(int aIndex) Returns the Y coordinate of the point ataIndex.default doublegetZ(int aIndex) Returns the Z coordinate of the point ataIndex.
-
Method Details
-
getPointCount
int getPointCount()Returns the number ofILcdPointobjects in the list.- Returns:
- the number of
ILcdPointobjects in the list.
-
getPoint
Returns theILcdPointat a given index.- Parameters:
aIndex- a valid index in the list ofILcdPointobjects.- Returns:
- the
ILcdPointat the given index. - Throws:
IndexOutOfBoundsException- if the given index is out of bounds.
-
getX
default double getX(int aIndex) Returns the X coordinate of the point ataIndex.- Parameters:
aIndex- the index of the point for which to return the X coordinate.- Returns:
- the X coordinate of the point at
aIndex. - Throws:
IndexOutOfBoundsException- ifaIndex < 0 || aIndex >= getPointCount()- Since:
- 2019.0
-
getY
default double getY(int aIndex) Returns the Y coordinate of the point ataIndex.- Parameters:
aIndex- the index of the point for which to return the Y coordinate.- Returns:
- the Y coordinate of the point at
aIndex. - Throws:
IndexOutOfBoundsException- ifaIndex < 0 || aIndex >= getPointCount()- Since:
- 2019.0
-
getZ
default double getZ(int aIndex) Returns the Z coordinate of the point ataIndex.- Parameters:
aIndex- the index of the point for which to return the Z coordinate.- Returns:
- the Z coordinate of the point at
aIndex. - Throws:
IndexOutOfBoundsException- ifaIndex < 0 || aIndex >= getPointCount()- Since:
- 2019.0
-
getPointSFCT
Stores the coordinates of the point ataIndexin the given point.- Parameters:
aIndex- the index of the point for which to retrieve the coordinates.aPointSFCT- the side-effect parameter in which to store the coordinates of the requested point.- Throws:
IndexOutOfBoundsException- ifaIndex < 0 || aIndex >= getPointCount()- Since:
- 2019.0
-