Create a 3d circular arc.
The center point of the arc.
The radius of the arc.
The start angle of the arc.
The end angle of the arc.
The normal vector of the plane in which the arc lies.
The reference vector from which angles are measured. Default value is x axis.
When this is set, it calculates the bounding box of this shape and resets this property to false. Default is false.
Center of circular arc
Return true if the arc is clockwise from startAngle to endAngle
Return true if its start point is identical to its end point. Otherwise, return false.
Return angle between endAngle and startAngle in range 0 to 2*PI
End angle in radians of circular arc in the range 0 to 2 * PI.
The end point of circular arc
Return true if the arc is a large arc whose delta angle value is greater than PI.
Normal vector defining the plane of the circular arc
Radius of circular arc
The unit reference vector of circular arc
Start angle in radians of circular arc in the range 0 to 2 * PI.
The start point of circular arc
Calculate angle between the specified vec and the reference vector of this arc.
Input one vector
Return angle between the specified vec and the reference vector of this arc.
Returns the point on the arc at a specific angle.
The angle at which to get the point.
Divide this arc into the specified nubmer of points those points as an array of points.
Input the nubmer of points returned
Return an array of point
Return new shape translated by given vector. Translation vector may be also defined by a pair of numbers.
Static
computeCompute center point of the arc given three points
Input start point of the arc
Input end point of the arc
Input one point on the arc (P3)
Return center point of the arc
Static
createCreate arc by three points
Input the start point
Input the end point
Input one point between the start point and the end point
The class represeting both full circles and circular arcs in 3d space. The ellipse arc is defined by a center point, radius, start angle, end angle, a normal vector, and a reference vector. If start angle is equal to 0 and end angle is equal to 2 * Math.PI, it represents a full circle.