public class TLcdLonLatMPolygon extends TLcdLonLatPolygon
TLcdLonLatPolygon
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 |
---|
TLcdLonLatMPolygon(ILcd2DEditablePointList a2DEditablePointList,
double[] aMeasureArray)
Constructs and initializes from the specified parameters.
|
TLcdLonLatMPolygon(ILcd2DEditablePointList a2DEditablePointList,
double[] aMeasureArray,
ILcdEllipsoid aEllipsoid)
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 . |
calculateBounds, clone, computePointSFCT, contains2D, contains2D, getEllipsoid, getEndPoint, getEndTangent2D, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getOrientation, getStartPoint, getStartTangent2D, getTangent2D, move2DPoint, set2DEditablePointList, setEllipsoid, setOrientation, translate2DPoint
calculateFocusPoint
clearCache, equals, get2DEditablePointList, getBounds, getCachedObject, getFocusPoint, getPoint, getPointCount, getPointSFCT, getX, getY, getZ, hashCode, insertIntoCache, invalidateBounds, invalidateObject, move2D, removeCachedObject, setFocusPoint, toString, translate2D
contains3D, move2D
contains3D, fromDomainObject
finalize, getClass, notify, notifyAll, wait, wait, wait
move2D, move2D, translate2D
append2DPoint, translate2D
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
contains3D, contains3D, getFocusPoint
getBounds
clearCache, getCachedObject, insertIntoCache, removeCachedObject
public TLcdLonLatMPolygon(ILcd2DEditablePointList a2DEditablePointList, double[] aMeasureArray)
a2DEditablePointList
- the points to consider.aMeasureArray
- the array of m (measure) coordinates.public TLcdLonLatMPolygon(ILcd2DEditablePointList a2DEditablePointList, double[] aMeasureArray, ILcdEllipsoid aEllipsoid)
a2DEditablePointList
- the points to consider.aMeasureArray
- the array of m (measure) coordinates.aEllipsoid
- the ellipsoid on which to define the polygonpublic 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 TLcdLonLatPolygon
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 TLcdLonLatPolygon
aIndex
- a valid index in the list of ILcdPoint
objects.