Expand description
A face’s loop in its surface’s parameter plane: the signed area it
encloses, integrated exactly from its pcurves (loop_signed_area),
and a polygon sampled along them, for the rasterizer to triangulate
(sample_loop_to_polygon).
Ask the area which way a loop runs, never a sampled polygon: the gap
between a polygon and the pcurves is part of no enclosure (see
geop_core_geometry::nurb_curve::loop_signed_area).
Functions§
- loop_
signed_ area - The signed area, in
(u, v), of the loop anchored atfirst: positive counter-clockwise, negative clockwise. - 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). - sample_
pcurves_ to_ polygon - Sample
pcurves, a loop’s in order, into a closed(u, v)polygon:npoints evenly along each one’s domain, its end left out, as the next one starts there.