Expand description
Surfaces that nearly share a plane.
Two meshes whose faces lie in one plane in exact arithmetic come out of placement a rounding residue apart: each vertex rounds on its own. A boolean that decides on the raw values reads those faces as crossing at a sliver of an angle, or leaves a crack. This query finds such a pair: a triangle of each, within the search distance of each other, whose corners all lie within that distance of the other’s plane, and which are not exactly coplanar. Exact contact (every corner on the plane, certified) is a decided case and is not reported; neither is a crossing at an angle.
Distances are measurements (ADR 0045); only “exactly on the plane” is an
orient3d sign.
Structs§
- Near
Coplanar - A pair of triangles that nearly share a plane.
Functions§
- near_
coplanar - The first pair of triangles of
aandbthat nearly share a plane withinlinear, in ascending(first, second)order.