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.voidsetWidth(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, translate2DMethods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPointMethods 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:ILcdVariableGeoBufferReturns the base polyline of the buffer.- Specified by:
getBaseShapein interfaceILcdVariableGeoBuffer- Returns:
- the base polyline of the buffer.
-