Package com.luciad.shape.shape2D
Interface ILcd2DEditableVariableGeoBuffer
- All Superinterfaces:
Cloneable
,ILcd2DEditableShape
,ILcdBounded
,ILcdCloneable
,ILcdShape
,ILcdVariableGeoBuffer
,Serializable
- All Known Subinterfaces:
ILcd3DEditableVariableGeoBuffer
- All Known Implementing Classes:
TLcdLonLatHeightVariableGeoBuffer
An
ILcd2DEditableVariableGeoBuffer
object is an ILcdVariableGeoBuffer
that can be changed in two dimensions.
More specifically, the base shape is editable, the width can be changed, and the buffer can be
translated.- Since:
- 11.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the base polyline of the buffer.void
setWidth
(int aIndex, double aWidth) Sets the width of this buffer at the given point index, expressed in meters.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.ILcdCloneable
clone
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
Methods inherited from interface com.luciad.shape.ILcdVariableGeoBuffer
getHeightAbove, getHeightBelow, getWidth
-
Method Details
-
setWidth
Sets the width of this buffer at the given point index, expressed in meters. This width is defined as the distance from the respective point in the base polyline, in a direction perpendicular to the segments of the base polyline containing the respective point.- Parameters:
aIndex
- the base shape point index to set the width foraWidth
- a positive integer (width >= 0) representing the width of the buffer at the given point- Throws:
IndexOutOfBoundsException
- if the base polyline does not have a point for the given index- See Also:
-
getBaseShape
ILcd2DEditablePointList getBaseShape()Description copied from interface:ILcdVariableGeoBuffer
Returns the base polyline of the buffer.- Specified by:
getBaseShape
in interfaceILcdVariableGeoBuffer
- Returns:
- the base polyline of the buffer.
-