EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Attributes | List of all members
EBGeometry::TriMeshSDF< T, Meta, K, W, StoragePolicy >::ClosestTriangle Struct Reference

Result of getClosestTriangle(): the signed distance to the closest triangle and that triangle's metadata. More...

#include <EBGeometry_MeshDistanceFunctions.hpp>

Public Attributes

signedDistance = std::numeric_limits<T>::max()
 Signed distance to the closest triangle.
 
Meta metaData {}
 Metadata of the closest triangle.
 

Detailed Description

template<class T, class Meta, size_t K, size_t W, class StoragePolicy = BVH::ValueStorage<EBGeometry::TriangleAoSoA<T, Meta, W>>>
struct EBGeometry::TriMeshSDF< T, Meta, K, W, StoragePolicy >::ClosestTriangle

Result of getClosestTriangle(): the signed distance to the closest triangle and that triangle's metadata.

Recovers per-triangle metadata for the single nearest triangle through the SIMD SoA path. signedDistance equals what signedDistance() returns for the same point.


The documentation for this struct was generated from the following file: