Expand description
Sample a coedge loop’s pcurves into a closed (u, v) polygon.
Lives in geop-core-topology rather than geop-ops-rasterize (which
also uses it, for triangulation) because geop-core-topology’s own edit
code (splice_edge_into_face’s loop-orientation check) needs it too,
and topology sits below rasterize in the dependency order.
Functions§
- sample_
loop_ to_ polygon - Sample the pcurves of the loop anchored at
first(in traversal order) into a closed(u, v)polygon,nsamples per coedge (the last sample of each coedge is dropped, since it coincides with the next coedge’s first sample).