arc
A circular or elliptic arc.
Signatures
- arc( vector center, float gamma )
- arc( vector center, float gamma, vector normal )
- arc( vector center, float gamma, vector axisA, float radB )
- arc( vector center, float gamma, vector axisA, float radB, vector normal )
Details
This curve segments adds a general circular or elliptic arc to the curve. Constructors (1) and (2) generate a circular arc whereas constructors (3) and (4) generate an elliptical arc.
Parameters
- center
-
The center point of the arc circle or ellipse.
- gamma
-
For circles, this is the angle in radiants that is covered by the arc. For ellipses, this is the standard parameter t along the ellipse (what is not necessarily equal to the geometric angle covered by the final construction). This can be a positive or negative value. The direction is defined by the right hand rule.
- normal
-
The normal of the arc circle or ellipse plane (default: <[0,0,1]>). This is the orientation for the right hand rule.
- axisA
-
Vector defining the major semi-axis of the ellipse.
- radB
-
Length of the minor semi-axis of the ellipse.