public class TLcdLonLatHeightMPolypoint extends TLcdLonLatHeightPolypoint
TLcdLonLatHeightPolypoint
with measure values.Constructor and Description |
---|
TLcdLonLatHeightMPolypoint(ILcd3DEditablePointList a3DEditablePointList,
double[] aMeasureArray)
Constructs and initializes from the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
double |
getM(int aIndex)
Returns the M (measure) coordinate at
aIndex . |
void |
insert2DPoint(int aIndex,
double aX,
double aY)
Inserts a point at the given index into this
ILcd2DEditablePointList . |
void |
insert3DPoint(int aIndex,
double aX,
double aY,
double aZ)
Inserts a point at the given index into this
ILcd3DEditablePointList . |
void |
removePointAt(int aIndex)
Removes the point at the given index from this
ILcd2DEditablePointList . |
protected void |
set3DEditablePointList(ILcd3DEditablePointList a3DEditablePointList) |
protected void |
set3DEditablePointList(ILcd3DEditablePointList a3DEditablePointList,
boolean aDeepCopy) |
calculateBounds, calculateFocusPoint, clone
clearCache, contains2D, contains3D, equals, get3DEditablePointList, getBounds, getCachedObject, getFocusPoint, getPoint, getPointCount, getPointSFCT, getX, getY, getZ, hashCode, insertIntoCache, invalidateBounds, move2D, move2DPoint, move3DPoint, removeCachedObject, setFocusPoint, toString, translate2D, translate2DPoint, translate3D, translate3DPoint
move3D, move3D
move2D
contains2D, contains3D, fromDomainObject
finalize, getClass, notify, notifyAll, wait, wait, wait
move3D, move3D, translate3D
move2D, move2D, translate2D
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
move3DPoint, translate3D, translate3DPoint
append2DPoint, move2DPoint, translate2D, translate2DPoint
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
clearCache, getCachedObject, insertIntoCache, removeCachedObject
public TLcdLonLatHeightMPolypoint(ILcd3DEditablePointList a3DEditablePointList, double[] aMeasureArray)
a3DEditablePointList
- the points to consider.aMeasureArray
- the array of m (measure) coordinates.public double getM(int aIndex) throws IndexOutOfBoundsException
aIndex
.aIndex
- the index for which to return the M coordinate.aIndex
.IndexOutOfBoundsException
- if aIndex < 0 || aIndex >= getPointCount()
public void insert3DPoint(int aIndex, double aX, double aY, double aZ)
ILcd3DEditablePointList
ILcd3DEditablePointList
.insert3DPoint
in interface ILcd3DEditablePointList
insert3DPoint
in class ALcd3DEditablePolypoint
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.aZ
- the z coordinate of the new point.protected void set3DEditablePointList(ILcd3DEditablePointList a3DEditablePointList)
set3DEditablePointList
in class ALcd3DEditablePolypoint
protected void set3DEditablePointList(ILcd3DEditablePointList a3DEditablePointList, boolean aDeepCopy)
set3DEditablePointList
in class ALcd3DEditablePolypoint
public void insert2DPoint(int aIndex, double aX, double aY)
ILcd2DEditablePointList
ILcd2DEditablePointList
.insert2DPoint
in interface ILcd2DEditablePointList
insert2DPoint
in class ALcd3DEditablePolypoint
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.public void removePointAt(int aIndex)
ILcd2DEditablePointList
ILcd2DEditablePointList
.removePointAt
in interface ILcd2DEditablePointList
removePointAt
in interface ILcd3DEditablePointList
removePointAt
in class ALcd3DEditablePolypoint
aIndex
- a valid index in the list of ILcdPoint
objects.