Expand description
closest_points: the least distance between two points, curves or
faces of models — each where a pose puts it — and two points that
attain it.
A branch and bound over pieces of the two (least_distance): spans
of curves, patches of a face’s surface and spans of its edges. A patch
the face’s trim definitely leaves out is dropped, and a patch only
known to meet the trim attains a point where its middle is on the face.
The least distance of a face is either at a point inside it or on its
boundary, which its edges’ spans attain.
Structs§
- Closest
- The least distance between two features, and two points of them attaining as little as the search could tell apart from it.
- Placed
Face - A face of a model, where
poseputs it — or where it is, without one.
Enums§
- Feature
- Something a distance is measured to.
Functions§
- closest_
points - The least distance between
aandb, and two points attaining it (see the module docs). - could_
touch - Whether
aandbcould be at distance zero: whatclosest_pointsanswers too, without finding the least distance between them (seecould_come_within).