Interface ILcd2DEditableEllipse

All Superinterfaces:
Cloneable, ILcd2DEditableShape, ILcdBounded, ILcdCloneable, ILcdEllipse, ILcdShape, Serializable
All Known Implementing Classes:
TLcdCGMEllipse, TLcdDGNEllipse2D, TLcdLonLatEllipse, TLcdNVG15Arc, TLcdNVG15Ellipse, TLcdNVG20EllipticRing, TLcdXYEllipse

public interface ILcd2DEditableEllipse extends ILcdEllipse, ILcd2DEditableShape
An ILcd2DEditableEllipse object is an ILcdEllipse that can be changed in two dimensions.
  • Method Details

    • setA

      void setA(double aA)
      Sets the length of the semi-major axis.
      Parameters:
      aA - the new length.
    • setB

      void setB(double aB)
      Sets the length of the semi-minor axis.
      Parameters:
      aB - the new length.
    • setRotAngle

      void setRotAngle(double aRotAngle)
      Sets the rotation angle of the major axis (in degrees). The angle is measured from 3 o'clock position, positive counter-clockwise.
      Parameters:
      aRotAngle - the new rotation angle.
    • updateForCornerPoint2D

      void updateForCornerPoint2D(int aCorner, ILcdPoint aPoint)
      Updates the ellipse for the specified corner point location. The end point of the axis should be at the specified location on return of this method.
      Parameters:
      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.