CadArc

Inheritance: java.lang.Object, CadCircle

Class describing Cad ARC

Constructors

ConstructorDescription
CadArc(Cad3DPoint centerPoint, double radius, double startAngle, double endAngle)Initializes a new instance of the CadArc class.

Methods

MethodDescription
getTypeName()Gets the name of the type.
getArcExtrusionDirection()Gets or sets the extrusion direction.
setArcExtrusionDirection(Cad3DPoint value)Gets or sets the extrusion direction.
getEndAngle()Gets or sets the End angle.
setEndAngle(double value)Gets or sets the End angle.
getStartAngle()Gets or sets Start angle.
setStartAngle(double value)Gets or sets Start angle.
getCounterClockwize()Gets or sets the counter clockwize.
setCounterClockwize(short value)Gets or sets the counter clockwize.

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

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

Initializes a new instance of the CadArc class.

Parameters:

ParameterTypeDescription
centerPointCad3DPointStart point.
radiusdoubleRadius.
startAngledoubleStart angle.
endAngledoubleEnd angle.

Throws:

  • com.aspose.ms.System.ArgumentNullException - Thrown when center point is null

getTypeName()

public int getTypeName()

Gets the name of the type.

Returns: int - The name of the type.

getArcExtrusionDirection()

public final Cad3DPoint getArcExtrusionDirection()

Gets or sets the extrusion direction.

Returns: Cad3DPoint

setArcExtrusionDirection(Cad3DPoint value)

public final void setArcExtrusionDirection(Cad3DPoint value)

Gets or sets the extrusion direction.

getEndAngle()

public double getEndAngle()

Gets or sets the End angle.

Returns: double - End angle.

setEndAngle(double value)

public void setEndAngle(double value)

Gets or sets the End angle.

Parameters:

ParameterTypeDescription
valuedoubleEnd angle.

getStartAngle()

public double getStartAngle()

Gets or sets Start angle.

Returns: double - The Start angle

setStartAngle(double value)

public void setStartAngle(double value)

Gets or sets Start angle.

Parameters:

ParameterTypeDescription
valuedoubleThe Start angle

getCounterClockwize()

public final short getCounterClockwize()

Gets or sets the counter clockwize.

Returns: short - The counter clockwize.

setCounterClockwize(short value)

public final void setCounterClockwize(short value)

Gets or sets the counter clockwize.

Parameters:

ParameterTypeDescription
valueshortThe counter clockwize.