Creates a new Segment, which specifies a linear or a Bézier curve path between two anchor points (and up to two control points for curvature).
Recursively subdivides Segment to approximate Bézier curve.
Returns a shallow copy of the Segment.
Samples specified amount of points on the Segment.
Returns the t values of the extrema for the current Segment.
Calculates a List of all points where two Segments intersect.
Determines if the Segment forms a straight line.
Find point on segment nearest to given point.
Returns a normal Vector2 at given value of t in the range of
Calculates the point at a given distance along this Segment.
Calculates the pose Matrix44 (i.e. translation and rotation) that describes an orthonormal basis formed by normal and tangent of the contour at t.
Returns a point on the segment.
Splits the path into one or two parts, depending on if the cut was successful.
Estimate t value for a given length
Applies given linear transformation.
Returns the bounding box.
Converts the Segment to a cubic Bézier curve.
Calculates approximate Euclidean length of the Segment.
Converts the Segment to a quadratic Bézier curve.
Reverses the order of control points of the given path Segment.
Returns the type of the segment.