public class TLcdXYMPolygon extends TLcdXYPolygon
TLcdXYPolygon
with measure values.fBounds, fFocusPoint
CLOCKWISE, COUNTERCLOCKWISE, INVALID_ORIENTATION
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 |
---|
TLcdXYMPolygon(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 . |
calculateOrientation, clone, computePointAndNextIndexSFCT, computePointSFCT, contains2D, getEndPoint, getEndTangent2D, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getOrientation, getStartPoint, getStartTangent2D, getTangent2D, move2DPoint, set2DEditablePointList, setOrientation, translate2DPoint
calculateBounds, calculateFocusPoint
clearCache, equals, get2DEditablePointList, getBounds, getCachedObject, getFocusPoint, getPoint, getPointCount, getPointSFCT, getX, getY, getZ, hashCode, insertIntoCache, invalidateBounds, invalidateObject, move2D, removeCachedObject, setFocusPoint, toString, translate2D
contains3D, move2D
contains2D, contains3D, fromDomainObject
finalize, getClass, notify, notifyAll, wait, wait, wait
move2D, move2D, translate2D
append2DPoint, translate2D
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
contains2D, contains3D, contains3D, getFocusPoint
getBounds
clearCache, getCachedObject, insertIntoCache, removeCachedObject
public TLcdXYMPolygon(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 TLcdXYPolygon
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 TLcdXYPolygon
aIndex
- a valid index in the list of ILcdPoint
objects.