Expand description
Pcurves fitted by projection, for faces whose trims have no closed form.
An exchange file’s edge must end up with a curve in each bounding face’s
parameters, or the face cannot be split or triangulated. Where the
curve/surface pair has a closed form the exact projection is used; where
it does not (a spline surface, mostly), the pcurve is fitted at the
curve’s own parameters: sample the edge, project each sample into the
chart, fit the trace with the parameters held fixed, so the same-parameter
law holds by construction. An exact curve never carries a fitted pcurve
silently: the fit’s error is returned, and the callers widen tolerances
and warn with it. That error
is reported as a length, in the model’s own units: the fitted pcurve is
walked through the surface and compared against the trace it was fitted
to. A chart’s units are whatever the file chose, and no single scale
converts them: a patch can span four microns across its u and ten
millimetres along its v.
Enums§
- Capped
Fit - What
fit_projected_pcurve_withinmade of an edge.
Constants§
- TRIM_
CAP - The readers’ line between a file’s own slop and a wrong pairing, in confusions: a millimetre at unit scale.
Functions§
- fit_
projected_ pcurve - Fit a pcurve by projection at the reader’s own line: slop under a
millimetre is a file’s error, honestly carried; anything past it is a
wrong pairing and refuses. The exchange readers call this; a healer
acting on instruction calls
fit_projected_pcurve_cappedwith the cap its caller chose. - fit_
projected_ pcurve_ aimed fit_projected_pcurve_within, the fit aimed ataim, a length, rather than at a hundred confusions: a producer that states its edge’s tolerance asks for the pcurve to keep to it.- fit_
projected_ pcurve_ capped - As the reader’s projected-pcurve fit, with the acceptance cap in the caller’s hands.
- fit_
projected_ pcurve_ within fit_projected_pcurve_capped, with a refusal at the cap returned as the offset measured rather than as an error.- lifted_
gap - How far
pcurve, lifted throughsurface, stands fromcurve, each over its range and read at the same fraction along it. - lifted_
gap_ past_ confusion lifted_gapwhere it exceeds the confusion distance; within it, the answer is only known to be within it.
Type Aliases§
- Fitted
Pcurve - The fitted pcurve, its fit error as a length, whether the target was met, the worst distance any sample sat from the surface, and the slop warning to record when that distance is large enough to say out loud.