public class TLcdXYMPolyline extends TLcdXYPolyline
TLcdXYPolyline
with measure values.fBounds, fFocusPoint
INTERPOLATION_CIRCLE_BY_3POINTS, INTERPOLATION_CIRCLE_BY_CENTERPOINT, INTERPOLATION_CIRCULARARC_BY_3POINTS, INTERPOLATION_CIRCULARARC_BY_BULGE, INTERPOLATION_CIRCULARARC_BY_CENTERPOINT, INTERPOLATION_ELLIPTICAL, INTERPOLATION_GEODESIC, INTERPOLATION_LINEAR, INTERPOLATION_MIXED, INTERPOLATION_RHUMB
Constructor and Description |
---|
TLcdXYMPolyline(ILcd2DEditablePointList a2DEditablePointList,
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 |
removePointAt(int aIndex)
Removes the point at the given index from this
ILcd2DEditablePointList . |
clone, computePointSFCT, contains2D, getEndPoint, getEndTangent2D, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getStartPoint, getStartTangent2D, getTangent2D
calculateBounds, calculateFocusPoint
clearCache, equals, get2DEditablePointList, getBounds, getCachedObject, getFocusPoint, getPoint, getPointCount, getPointSFCT, getX, getY, getZ, hashCode, insertIntoCache, invalidateBounds, invalidateObject, move2D, move2DPoint, removeCachedObject, set2DEditablePointList, setFocusPoint, toString, translate2D, translate2DPoint
contains3D, move2D
contains2D, contains3D, fromDomainObject
finalize, getClass, notify, notifyAll, wait, wait, wait
move2D, move2D, translate2D
contains2D, contains3D, contains3D, getFocusPoint
getBounds
append2DPoint, move2DPoint, translate2D, translate2DPoint
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
clearCache, getCachedObject, insertIntoCache, removeCachedObject
public TLcdXYMPolyline(ILcd2DEditablePointList a2DEditablePointList, double[] aMeasureArray)
a2DEditablePointList
- 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 insert2DPoint(int aIndex, double aX, double aY)
ILcd2DEditablePointList
ILcd2DEditablePointList
.insert2DPoint
in interface ILcd2DEditablePointList
insert2DPoint
in class ALcd2DEditablePolypoint
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 class ALcd2DEditablePolypoint
aIndex
- a valid index in the list of ILcdPoint
objects.