Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Interfaces

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class CadArc

  • Direct Known Subclasses:
    CadEllipse


    public class CadArc
    extends CadCircle

    Class describing Cad ARC

    • Constructor Detail

      • CadArc

        public CadArc(Cad3DPoint centerPoint,
                      double radius,
                      double startAngle,
                      double endAngle)

        Initializes a new instance of the CadArc class.

        Parameters:
        centerPoint - Start point.
        radius - Radius.
        startAngle - Start angle.
        endAngle - End angle.
        Throws:
        com.aspose.ms.System.ArgumentNullException - Thrown when center point is null
    • Method Detail

      • getTypeName

        public int getTypeName()

        Gets the name of the type.

        Overrides:
        getTypeName in class CadCircle
        Returns:
        The name of the type.
      • getArcExtrusionDirection

        public final Cad3DPoint getArcExtrusionDirection()

        Gets or sets the extrusion direction.

      • setArcExtrusionDirection

        public final void setArcExtrusionDirection(Cad3DPoint value)

        Gets or sets the extrusion direction.

      • getEndAngle

        public double getEndAngle()

        Gets or sets the End angle.

        Returns:
        End angle.
      • setEndAngle

        public void setEndAngle(double value)

        Gets or sets the End angle.

        Parameters:
        value - End angle.
      • getStartAngle

        public double getStartAngle()

        Gets or sets Start angle.

        Returns:
        The Start angle
      • setStartAngle

        public void setStartAngle(double value)

        Gets or sets Start angle.

        Parameters:
        value - The Start angle
      • getCounterClockwize

        public final short getCounterClockwize()

        Gets or sets the counter clockwize.

        Returns:
        The counter clockwize.
      • setCounterClockwize

        public final void setCounterClockwize(short value)

        Gets or sets the counter clockwize.

        Parameters:
        value - The counter clockwize.