Expand description
The point at given offsets from several surfaces: where a shell moves a vertex, onto the inner copies of its faces, where a draft moves one onto its tilted faces, and where a blend’s ball touches the faces it rounds.
One condition per smooth surface (Offset): the point lies its
offset along the surface’s unit normal, behind it for a negative one.
A surface may come in pieces — the quarters of a revolved face meeting
at its pole — and is then one condition, not several (tangent_groups).
Planes through a point add linear conditions. meet finds the point
nearest its start that meets all of them.
Structs§
- Offset
- A condition on the point
meetfinds: that it lieoffsetalong the unit normal of the smooth surfacepiecesare the pieces of, each with where to start looking for the foot point on it.meetleaves there the foot point of its last seed, sharp: a seed for the next search.
Functions§
- meet
- The point nearest
startthat lies at every one ofoffsetsand in every one ofplanes(a unit normal and a point each): Gauss-Newton. Each step measures how far off each condition the iterate is — along the normal at its foot point on each surface, along each plane’s normal — and takes the shortest step that corrects all of them at once, to first order. Between planes that is exact in one step; with fewer than three conditions the point slides along where they meet, by no more than it has to. - tangent_
groups pieces, each a surface and where a point is on it, grouped into the smooth surfaces they are pieces of there: those whose normals there could be parallel. The groups as indices intopieces, in order.