pub fn build_pcurve_on_surface(
surface: &NurbsSurface,
curve: &NurbsCurve,
) -> Result<NurbsCurve, String>Expand description
Build a parameter-space curve for a 3D curve lying on a surface.
This mirrors the reference imprint implementation: affine patches map homogeneous control points exactly; general patches use sampled inversion, periodic seam unwrapping, and adaptive 3D residual refinement.