Interface ILcdArc

All Superinterfaces:
Cloneable, ILcdBounded, ILcdCloneable, ILcdShape, Serializable
All Known Subinterfaces:
ILcd2DEditableArc
All Known Implementing Classes:
TLcdCGMArc, TLcdDGNArc2D, TLcdDWGArc, TLcdDWGEllipse, TLcdLonLatArc, TLcdNVG15Arc, TLcdNVG20Arc, TLcdXYArc

public interface ILcdArc extends ILcdShape
An ILcdArc is an ILcdShape that represents a general elliptical arc in the 2D space. All of its points lie at on an ellipse with a center, a semi-major axis with a rotation angle, and a semi-minor axis. The arc starts at a start angle and extends over an arc angle.

The parameters of the arc can only be read, not modified.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Specifies the corner point at the end angle.
    static final int
    Specifies the corner point at the start angle.
    static final int
    Specifies the end point of the major radius axis (at the rotation angle).
    static final int
    Specifies the end point of the major radius axis at the rotation angle (at the rotation angle + 180 degrees).
    static final int
    Specifies the corner point of the minor radius axis (at the rotation angle + 90 degrees).
    static final int
    Specifies the corner point of the minor radius axis (at the rotation angle - 90 degrees).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    corner2DEditablePointSFCT(int aCorner, ILcd2DEditablePoint a2DEditablePointSFCT)
    Computes the position of the specified corner of this ILcdArc.
    double
    Returns the length of the semi-major axis.
    double
    Returns the angle over which the arc extends (in degrees).
    double
    Returns the length of the semi-minor axis.
    Returns the center of this ILcdArc.
    double
    Returns the rotation angle of the major axis (in degrees).
    double
    Returns the start angle of the arc (in degrees).

    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
  • Field Details

    • MAJOR_RADIUS_CORNER

      static final int MAJOR_RADIUS_CORNER
      Specifies the end point of the major radius axis (at the rotation angle).
      See Also:
    • MINOR_RADIUS_CORNER

      static final int MINOR_RADIUS_CORNER
      Specifies the corner point of the minor radius axis (at the rotation angle + 90 degrees).
      See Also:
    • MAJOR_RADIUS_OPPOSITE_CORNER

      static final int MAJOR_RADIUS_OPPOSITE_CORNER
      Specifies the end point of the major radius axis at the rotation angle (at the rotation angle + 180 degrees).
      See Also:
    • MINOR_RADIUS_OPPOSITE_CORNER

      static final int MINOR_RADIUS_OPPOSITE_CORNER
      Specifies the corner point of the minor radius axis (at the rotation angle - 90 degrees).
      See Also:
    • ARC_START_CORNER

      static final int ARC_START_CORNER
      Specifies the corner point at the start angle.
      See Also:
    • ARC_END_CORNER

      static final int ARC_END_CORNER
      Specifies the corner point at the end angle.
      See Also:
  • Method Details

    • getCenter

      ILcdPoint getCenter()
      Returns the center of this ILcdArc.
      Returns:
      the center of this ILcdArc.
    • getA

      double getA()
      Returns the length of the semi-major axis.
      Returns:
      the length of the semi-major axis.
    • getB

      double getB()
      Returns the length of the semi-minor axis.
      Returns:
      the length of the semi-minor axis.
    • getRotAngle

      double getRotAngle()
      Returns the rotation angle of the major axis (in degrees). The angle is measured from 3 o'clock position, positive counter-clockwise.
      Returns:
      the rotation angle of the major axis (in degrees). The angle is measured from 3 o'clock position, positive counter-clockwise.
    • getStartAngle

      double getStartAngle()
      Returns the start angle of the arc (in degrees). The angle is measured from 3 o'clock position, positive counter-clockwise.
      Returns:
      the start angle of the arc (in degrees). The angle is measured from 3 o'clock position, positive counter-clockwise.
    • getArcAngle

      double getArcAngle()
      Returns the angle over which the arc extends (in degrees). The angle is positive counter-clockwise.
      Returns:
      the angle over which the arc extends (in degrees). The angle is positive counter-clockwise.
    • corner2DEditablePointSFCT

      void corner2DEditablePointSFCT(int aCorner, ILcd2DEditablePoint a2DEditablePointSFCT)
      Computes the position of the specified corner of this ILcdArc.
      Parameters:
      aCorner - the corner: ILcdArc.MAJOR_RADIUS_CORNER, ILcdArc.MINOR_RADIUS_CORNER, ILcdArc.MAJOR_RADIUS_OPPOSITE_CORNER, ILcdArc.MINOR_RADIUS_OPPOSITE_CORNER, ILcdArc.ARC_START_CORNER, or ILcdArc.ARC_END_CORNER.
      a2DEditablePointSFCT - an ILcd2DEditablePoint into which the result is written as a side-effect.