public interface ILcd2DEditableEllipse extends ILcdEllipse, ILcd2DEditableShape
ILcd2DEditableEllipse
object is an ILcdEllipse
that can be changed in two dimensions.MAJOR_RADIUS_CORNER, MAJOR_RADIUS_OPPOSITE_CORNER, MINOR_RADIUS_CORNER, MINOR_RADIUS_OPPOSITE_CORNER
Modifier and Type | Method and Description |
---|---|
void |
setA(double aA)
Sets the length of the semi-major axis.
|
void |
setB(double aB)
Sets the length of the semi-minor axis.
|
void |
setRotAngle(double aRotAngle)
Sets the rotation angle of the major axis (in degrees).
|
void |
updateForCornerPoint2D(int aCorner,
ILcdPoint aPoint)
Updates the ellipse for the specified corner point location.
|
corner2DEditablePointSFCT, getA, getB, getCenter, getRotAngle
move2D, move2D, translate2D
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
void setA(double aA)
aA
- the new length.void setB(double aB)
aB
- the new length.void setRotAngle(double aRotAngle)
aRotAngle
- the new rotation angle.void updateForCornerPoint2D(int aCorner, ILcdPoint aPoint)
aCorner
- a constant indicating which corner is to be moved:
ILcdEllipse.MAJOR_RADIUS_CORNER
,
ILcdEllipse.MINOR_RADIUS_CORNER
,
ILcdEllipse.MAJOR_RADIUS_OPPOSITE_CORNER
,
ILcdEllipse.MINOR_RADIUS_OPPOSITE_CORNER
.aPoint
- the new coordinate of the point.