Function project_curve2_certified
pub fn project_curve2_certified(
curve: &BSplineCurve<DVec2>,
target: DVec2,
options: CertifiedProjectionOptions,
) -> Result<CurveProjectionCertificate2, GeomError>Expand description
Globally bound the closest point on a clamped planar B-spline curve.
Positive rational weights make every refined segment lie in the convex hull of its Euclidean control points. Interval-aware homogeneous knot insertion and outward-rounded subdivision tighten those hulls until the global distance gap meets the requested tolerance.