Package com.luciad.format.database.shape
Class TLcdLonLatMPolypoint
java.lang.Object
com.luciad.shape.ALcdShape
com.luciad.shape.shape2D.ALcd2DEditableShape
com.luciad.shape.shape2D.ALcd2DEditablePolypoint
com.luciad.shape.shape2D.TLcdLonLatPolypoint
com.luciad.format.database.shape.TLcdLonLatMPolypoint
- All Implemented Interfaces:
ILcdBounded,ILcdPointList,ILcdPointList2,ILcdPolypoint,ILcdShape,ILcd2DEditablePointList,ILcd2DEditablePolypoint,ILcd2DEditableShape,ILcdCache,ILcdCloneable,ILcdInvalidateable,Serializable,Cloneable
This class represents a
TLcdLonLatPolypoint with measure values.- Since:
- 2022.1.01
- See Also:
-
Field Summary
Fields inherited from class com.luciad.shape.shape2D.ALcd2DEditablePolypoint
fBounds, fFocusPoint -
Constructor Summary
ConstructorsConstructorDescriptionTLcdLonLatMPolypoint(ILcd2DEditablePointList a2DEditablePointList, double[] aMeasureArray) Constructs and initializes from the specified parameters. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetM(int aIndex) Returns the M (measure) coordinate ataIndex.voidinsert2DPoint(int aIndex, double aX, double aY) Inserts a point at the given index into thisILcd2DEditablePointList.voidremovePointAt(int aIndex) Removes the point at the given index from thisILcd2DEditablePointList.Methods inherited from class com.luciad.shape.shape2D.TLcdLonLatPolypoint
calculateBounds, calculateFocusPoint, cloneMethods inherited from class com.luciad.shape.shape2D.ALcd2DEditablePolypoint
clearCache, contains2D, equals, get2DEditablePointList, getBounds, getCachedObject, getFocusPoint, getPoint, getPointCount, getPointSFCT, getX, getY, getZ, hashCode, insertIntoCache, invalidateBounds, invalidateObject, move2D, move2DPoint, removeCachedObject, set2DEditablePointList, setFocusPoint, toString, translate2D, translate2DPointMethods inherited from class com.luciad.shape.shape2D.ALcd2DEditableShape
contains3D, move2DMethods inherited from class com.luciad.shape.ALcdShape
contains2D, contains3D, fromDomainObjectMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.shape.shape2D.ILcd2DEditablePointList
append2DPoint, move2DPoint, translate2D, translate2DPointMethods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D, move2D, translate2DMethods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.util.ILcdCache
clearCache, getCachedObject, insertIntoCache, removeCachedObjectMethods inherited from interface com.luciad.shape.ILcdPointList
getPoint, getPointCount, getPointSFCT, getX, getY, getZMethods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Constructor Details
-
TLcdLonLatMPolypoint
Constructs and initializes from the specified parameters.- Parameters:
a2DEditablePointList- the points to consider.aMeasureArray- the array of m (measure) coordinates.
-
-
Method Details
-
getM
Returns the M (measure) coordinate ataIndex.- Parameters:
aIndex- the index for which to return the M coordinate.- Returns:
- the M coordinate of the point at
aIndex. - Throws:
IndexOutOfBoundsException- ifaIndex < 0 || aIndex >= getPointCount()
-
insert2DPoint
public void insert2DPoint(int aIndex, double aX, double aY) Description copied from interface:ILcd2DEditablePointListInserts a point at the given index into thisILcd2DEditablePointList.- Specified by:
insert2DPointin interfaceILcd2DEditablePointList- Overrides:
insert2DPointin classALcd2DEditablePolypoint- 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.
-
removePointAt
public void removePointAt(int aIndex) Description copied from interface:ILcd2DEditablePointListRemoves the point at the given index from thisILcd2DEditablePointList.- Specified by:
removePointAtin interfaceILcd2DEditablePointList- Overrides:
removePointAtin classALcd2DEditablePolypoint- Parameters:
aIndex- a valid index in the list ofILcdPointobjects.
-