Test an edge against the depth buffer at samples evenly
spaced parameter values, return the runs of consecutive
visible samples as visible sub-segment endpoints in world
space. An edge that is fully visible returns one segment
equal to itself; a fully hidden edge returns the empty array.
The first and last sample are pinned to the edge endpoints
so emitted segments don't shrink-by-one-sample at each end.
Test an edge against the depth buffer at
samplesevenly spaced parameter values, return the runs of consecutive visible samples as visible sub-segment endpoints in world space. An edge that is fully visible returns one segment equal to itself; a fully hidden edge returns the empty array.The first and last sample are pinned to the edge endpoints so emitted segments don't shrink-by-one-sample at each end.