CurveInterval
Represents a parametric interval of a 2D curve, defined by a start and end parameter, and their corresponding geometric positions.
The CurveInterval
class is used for operations such as splitting, bounding box calculations, and intersection testing within this range of the curve.
Parameters
curve
the curve (Curve2
) to which this interval belongs
tLo
the lower bound of the parametric range
tHi
the upper bound of the parametric range
pLo
the 2D point on the curve corresponding to tLo
pHi
the 2D point on the curve corresponding to tHi
Constructors
Functions
Link copied to clipboard
Computes the intersection points between the current CurveInterval
and another provided CurveInterval
. The computed intersection points are added to the provided list of Vec2
objects.
Link copied to clipboard
Link copied to clipboard
Splits the current curve interval into two sub-intervals.