|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
The face of a mesh closest to a query point, as the mesh SDFs' getClosestFace() returns it. More...
#include <EBGeometry_MeshDistanceFunctions.hpp>
Public Attributes | |
| T | signedDistance = Math::Limits<T>::max() |
| Signed distance to the closest face; negative inside. | |
| uint32_t | faceId = UINT32_MAX |
| Id of the closest face; UINT32_MAX for an empty mesh. | |
The face of a mesh closest to a query point, as the mesh SDFs' getClosestFace() returns it.
A plain, trivially copyable value, so getClosestFace() is callable on a device. When several faces are equally close (a point nearest an edge or vertex they share), the first one found is reported.
| T | Floating-point precision type. |