pub fn discretize_planar(
curve: &PlanarCurve,
range: (f64, f64),
deflection: Deflection,
tol: Tolerances,
) -> OgeomResult<(Vec<Point2>, Vec<f64>)>Expand description
Approximate a planar curve in a surface’s parameter space.
The deflection is measured in parameter units here, not in space, so a caller
wanting a spatial tolerance has to convert through the surface’s own scale:
the two differ by orders of magnitude near a pole; discretize_on_surface
is the version that measures through the surface. This exists for boundary
work in parameter space; for a face’s actual boundary, discretize the edge’s
3D curve and evaluate the pcurve at those parameters instead, which is what
keeps adjacent faces watertight.
§Errors
As discretize.