Class TLcdMeasureXYPolygon
java.lang.Object
com.luciad.shape.ALcdShape
com.luciad.shape.shape2D.ALcd2DEditableShape
com.luciad.shape.shape2D.ALcd2DEditablePolypoint
com.luciad.shape.shape2D.TLcdXYPolypoint
com.luciad.shape.shape2D.TLcdXYPolygon
com.luciad.format.informix.spatial.shp.TLcdMeasureXYPolygon
- All Implemented Interfaces:
ILcdSHPMeasureList
,ILcdBounded
,ILcdCurve
,ILcdPointList
,ILcdPointList2
,ILcdPolygon
,ILcdPolypoint
,ILcdRing
,ILcdShape
,ILcd2DEditablePointList
,ILcd2DEditablePolygon
,ILcd2DEditablePolypoint
,ILcd2DEditableShape
,ILcdCache
,ILcdCloneable
,ILcdInvalidateable
,Serializable
,Cloneable
This class represents a
TLcdXYPolygon
with measure values.- See Also:
-
Field Summary
Fields inherited from class com.luciad.shape.shape2D.ALcd2DEditablePolypoint
fBounds, fFocusPoint
Fields inherited from interface com.luciad.shape.ILcdCurve
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
Fields inherited from interface com.luciad.shape.ILcdPolygon
CLOCKWISE, COUNTERCLOCKWISE, INVALID_ORIENTATION
-
Constructor Summary
ConstructorDescriptionTLcdMeasureXYPolygon
(ILcd2DEditablePointList aILcd2DEditablePointList, double[] aM_array) TLcdMeasureXYPolygon
(TLcdXYPolygon aTLcdXYPolygon, boolean b, double[] aM_array) -
Method Summary
Modifier and TypeMethodDescriptiondouble
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 thisILcd2DEditablePointList
.void
removePointAt
(int i) Removes the point at the given index from thisILcd2DEditablePointList
.void
setM
(int i, double aValue) Methods inherited from class com.luciad.shape.shape2D.TLcdXYPolygon
calculateOrientation, clone, computePointAndNextIndexSFCT, computePointSFCT, contains2D, getEndPoint, getEndTangent2D, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getOrientation, getStartPoint, getStartTangent2D, getTangent2D, move2DPoint, set2DEditablePointList, setOrientation, translate2DPoint
Methods inherited from class com.luciad.shape.shape2D.TLcdXYPolypoint
calculateBounds, calculateFocusPoint
Methods inherited from class com.luciad.shape.shape2D.ALcd2DEditablePolypoint
clearCache, equals, get2DEditablePointList, getBounds, getCachedObject, getFocusPoint, getPoint, getPointCount, getPointSFCT, getX, getY, getZ, hashCode, insertIntoCache, invalidateBounds, invalidateObject, move2D, removeCachedObject, setFocusPoint, toString, translate2D
Methods inherited from class com.luciad.shape.shape2D.ALcd2DEditableShape
contains3D, move2D
Methods inherited from class com.luciad.shape.ALcdShape
contains2D, contains3D, fromDomainObject
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.shape.shape2D.ILcd2DEditablePointList
append2DPoint, translate2D
Methods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D, move2D, translate2D
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCache
clearCache, getCachedObject, insertIntoCache, removeCachedObject
Methods inherited from interface com.luciad.shape.ILcdPointList
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains3D, contains3D, getFocusPoint
-
Constructor Details
-
TLcdMeasureXYPolygon
-
TLcdMeasureXYPolygon
-
-
Method Details
-
setM
public void setM(int i, double aValue) -
getM
Description copied from interface:ILcdSHPMeasureList
Returns the measure value at an index.- Specified by:
getM
in interfaceILcdSHPMeasureList
- Parameters:
i
- the index of the measure value.- Returns:
- the measure value at an index.
- Throws:
IndexOutOfBoundsException
- if the index is out of bounds.
-
insert2DPoint
public void insert2DPoint(int i, double v, double v1) Description copied from interface:ILcd2DEditablePointList
Inserts a point at the given index into thisILcd2DEditablePointList
.- Specified by:
insert2DPoint
in interfaceILcd2DEditablePointList
- Overrides:
insert2DPoint
in classTLcdXYPolygon
- Parameters:
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.
-
insert2DMeasurePoint
public void insert2DMeasurePoint(int i, double v, double v1, double m) -
removePointAt
public void removePointAt(int i) Description copied from interface:ILcd2DEditablePointList
Removes the point at the given index from thisILcd2DEditablePointList
.- Specified by:
removePointAt
in interfaceILcd2DEditablePointList
- Overrides:
removePointAt
in classTLcdXYPolygon
- Parameters:
i
- a valid index in the list ofILcdPoint
objects.
-