Construct an instance of the ellipse arc.
Center point of the ellipse.
Major axis radius of the ellipse.
Minor axis radius of the ellipse.
Start angle of the ellipse arc in radians.
End angle of the ellipse arc in radians.
The flag Whether the ellipse arc is drawn clockwise. Default is false.
The rotation angle of the ellipse in radians, counterclockwise from the positive X axis (optional). Default is 0.
Protected
_boundingProtected
arcWhen this is set, it calculates the bounding box of this shape and resets this property to false. Default is false.
Center of the ellipse in 3d space
The flag Whether the ellipse arc is drawn clockwise. Default is false.
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 of the ellipse arc in radians in the range -pi to pi.
End point of this curve. If the curve is closed, coordinates of start point will be equal to coordinates of end point.
Return true if the arc is a large arc whose delta angle value is greater than PI.
Length of this curve.
Major axis radius of the ellipse
Minor axis radius of the ellipse
The rotation angle of the ellipse in radians, counterclockwise from the positive X axis (optional). Default is 0.
Start angle of the ellipse arc in radians in the range -pi to pi.
Start point of this curve. If the curve is closed, coordinates of start point will be equal to coordinates of end point.
Return the point for a given position on the curve according to the arc length.
Input a position on the curve according to the arc length. Must be in the range [ 0, 1 ].
Return the point for a given position on the curve according to the arc length.
Return a point for a given position on the curve according to the arc length.
Input a position on the curve according to the arc length. Must be in the range [0, 1].
Return a point for a given position on the curve according to the arc length.
Return a set of divisions + 1 points using getPoint(t)
.
Input number of pieces to divide the curve into. Default is 5.
Return a set of divisions + 1 points using getPoint(t)
Return a set of divisions + 1 equi-spaced points using getPointAt(u)
.
Input number of pieces to divide the curve into. Default is 5.
Return a set of divisions + 1 equi-spaced points using getPointAt(u)
.
Return a unit vector tangent at t
. If the derived curve does not implement its tangent derivation,
two points a small delta apart will be used to find its gradient which seems to give a reasonable
approximation.
Input a position on the curve. Must be in the range [ 0, 1 ].
Return a unit vector tangent at t
.
Return tangent at a point which is equidistant to the ends of the curve from the point given in
getTangent
.
Input a position on the curve according to the arc length. Must be in the range [0, 1].
Return tangent at a point which is equidistant to the ends of the curve from the point
given in getTangent
.
Transforms the entity by applying the input matrix.
Input transformation matrix
Return new shape translated by given vector.
Class representing a 3d ellipse arc defined by center, normal, majorAxis, majorAxisRadius, minorAxisRadius, startAngle, and endAngle.