CircularArc2dSet(Point2d,
Double, Double, Double, Vector2d, Boolean) Method
|
Sets parameters of this circular arc.
Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version:
27.3.0.0
Syntax
public void Set(
Point2d center,
double radius,
double angle1,
double angle2,
Vector2d referenceVector,
bool isClockWise
)
Public Sub Set (
center As Point2d,
radius As Double,
angle1 As Double,
angle2 As Double,
referenceVector As Vector2d,
isClockWise As Boolean
)
public:
void Set(
Point2d center,
double radius,
double angle1,
double angle2,
Vector2d referenceVector,
bool isClockWise
)
member Set :
center : Point2d *
radius : float *
angle1 : float *
angle2 : float *
referenceVector : Vector2d *
isClockWise : bool -> unit
Parameters
- center Point2d
- [in] Center of an arc.
- radius Double
- [in] Radius of an arc.
- angle1 Double
- [in] Start angle of an arc.
- angle2 Double
- [in] End angle of an arc.
- referenceVector Vector2d
- [in] The reference vector defining arc angle 0.
- isClockWise Boolean
- [in] If true, the arc is drawn clockwise, otherwise,
counterclockwise.
Remarks
angle1 must be
less than angle2. All angles are expressed in radians.
See Also