CadArc
Contents
[
Hide
]Inheritance: java.lang.Object, CadCircle
Class describing Cad ARC
Constructors
| Constructor | Description |
|---|---|
| CadArc(Cad3DPoint centerPoint, double radius, double startAngle, double endAngle) | Initializes a new instance of the CadArc class. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| centerPoint | Cad3DPoint | Start point. |
| radius | double | Radius. |
| startAngle | double | Start angle. |
| endAngle | double | End 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:
| Parameter | Type | Description |
|---|---|---|
| value | double | End 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:
| Parameter | Type | Description |
|---|---|---|
| value | double | The 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:
| Parameter | Type | Description |
|---|---|---|
| value | short | The counter clockwize. |