public class TLcdMeasureXYPolyline extends TLcdXYPolyline implements ILcdSHPMeasureList
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 |
---|
TLcdMeasureXYPolyline(ILcd2DEditablePointList aILcd2DEditablePointList,
double[] aM_array) |
TLcdMeasureXYPolyline(TLcdXYPolyline aTLcdXYPolyline,
boolean b,
double[] aM_array) |
Modifier and Type | Method and Description |
---|---|
double |
getM(int i)
Returns the measure value at an index.
|
void |
insert2DMeasurePoint(int i,
double v,
double v1,
double m) |
void |
insert2DPoint(int i,
double v,
double v1)
Inserts a point at the given index into this
ILcd2DEditablePointList . |
void |
removePointAt(int i)
Removes the point at the given index from this
ILcd2DEditablePointList . |
void |
setM(int i,
double aValue) |
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 TLcdMeasureXYPolyline(ILcd2DEditablePointList aILcd2DEditablePointList, double[] aM_array)
public TLcdMeasureXYPolyline(TLcdXYPolyline aTLcdXYPolyline, boolean b, double[] aM_array)
public double getM(int i) throws IndexOutOfBoundsException
ILcdSHPMeasureList
getM
in interface ILcdSHPMeasureList
i
- the index of the measure value.IndexOutOfBoundsException
- if the index is out of bounds.public void setM(int i, double aValue) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void insert2DPoint(int i, double v, double v1)
ILcd2DEditablePointList
ILcd2DEditablePointList
.insert2DPoint
in interface ILcd2DEditablePointList
insert2DPoint
in class ALcd2DEditablePolypoint
i
- a valid new index in the list of points.v
- the x coordinate of the new point.v1
- the y coordinate of the new point.public void insert2DMeasurePoint(int i, double v, double v1, double m)
public void removePointAt(int i)
ILcd2DEditablePointList
ILcd2DEditablePointList
.removePointAt
in interface ILcd2DEditablePointList
removePointAt
in class ALcd2DEditablePolypoint
i
- a valid index in the list of ILcdPoint
objects.