public interface ILcd2DEditableGeoBuffer extends ILcdGeoBuffer, ILcd2DEditableShape
ILcd2DEditableBuffer
object is an ILcdGeoBuffer
that can be changed in two dimensions.CAP_BUTT, CAP_ROUND, JOIN_ROUND
Modifier and Type | Method and Description |
---|---|
void |
invalidateShape()
Indicates that the base shape has been changed,
and that the buffer should be recalculated.
|
void |
setBaseShape(ILcdShape aShape)
Sets the base shape of the buffer.
|
void |
setEndCapStyle(int aEndCapStyle)
Sets the end cap style of the buffer,
which must be either
ILcdGeoBuffer.CAP_BUTT or
ILcdGeoBuffer.CAP_ROUND . |
void |
setJoinStyle(int aJoinStyle)
Sets the join style of the buffer,
which must be
ILcdGeoBuffer.JOIN_ROUND . |
void |
setWidth(double aWidth)
Sets the width of the buffer, expressed in meters and
measured from the axis to the border.
|
getBaseShape, getEndCapStyle, getJoinStyle, getWidth
move2D, move2D, translate2D
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
void setWidth(double aWidth)
aWidth
- the width of the buffer.IllegalArgumentException
- if a negative width is specified.void setEndCapStyle(int aEndCapStyle)
ILcdGeoBuffer.CAP_BUTT
or
ILcdGeoBuffer.CAP_ROUND
.aEndCapStyle
- the end cap style of the buffer.IllegalArgumentException
- if an unrecognized end cap style is specified.void setJoinStyle(int aJoinStyle)
ILcdGeoBuffer.JOIN_ROUND
.aJoinStyle
- the join style of the buffer.IllegalArgumentException
- if an unrecognized join style is specified.void setBaseShape(ILcdShape aShape)
aShape
- the base shape of the buffer.IllegalArgumentException
- if the base shape is not supported.void invalidateShape()