EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
EBGeometry_MeshDistanceFunctions.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2023 Robert Marskar <robert.marskar@sintef.no>
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
11#ifndef EBGEOMETRY_MESHDISTANCEFUNCTIONS_HPP
12#define EBGEOMETRY_MESHDISTANCEFUNCTIONS_HPP
13
14// Std includes
15#include <cstddef>
16#include <cstdint>
17#include <memory>
18#include <type_traits>
19#include <utility>
20#include <vector>
21
22// Our includes
23#include "EBGeometry_BVH.hpp"
27#include "EBGeometry_GPU.hpp"
28#include "EBGeometry_Math.hpp"
29#include "EBGeometry_Pool.hpp"
33#include "EBGeometry_Vec.hpp"
34
35namespace EBGeometry {
36
44template <class T>
46{
48 uint32_t faceId = UINT32_MAX;
49};
50
62template <class T>
70
97template <class T>
98class FlatMeshSDF : public PoolHandle
99{
100 static_assert(std::is_floating_point_v<T>, "FlatMeshSDF requires a floating-point T");
101
102public:
108
113
117 FlatMeshSDF() = delete;
118
122 struct Layout
123 {
128 };
129
139 FlatMeshSDF(const Layout& a_layout, const PoolLocation& a_location) noexcept
140 : PoolHandle(a_location), m_meshLayout(a_layout.m_mesh)
141 {}
142
147 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
148 Layout
149 layout() const noexcept
150 {
151 return Layout{m_meshLayout};
152 }
153
165 inline FlatMeshSDF(const Mesh& a_mesh, Pool& a_pool) noexcept;
166
172 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
173 inline T
174 signedDistance(const Vec3T<T>& a_point) const noexcept;
175
185 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
186 inline ClosestFace<T>
187 getClosestFace(const Vec3T<T>& a_point) const noexcept;
188
196 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
197 inline ClosestPoint<T>
198 closestPoint(const Vec3T<T>& a_point) const noexcept;
199
213 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
214 inline Vec3T<T>
215 gradient(const Vec3T<T>& a_point) const noexcept;
216
221 [[nodiscard]] EBGEOMETRY_HOST
222 inline uint32_t
223 getNumParts() const noexcept;
224
231 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
232 inline uint32_t
233 closestPart(const Vec3T<T>& a_point) const noexcept;
234
239 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
240 inline Mesh
241 getMesh() const noexcept
242 {
243 return Mesh(m_meshLayout, this->location());
244 }
245
253 [[nodiscard]] EBGEOMETRY_HOST
254 inline FlatMeshSDF
255 rebasedView(const Pool& a_pool) const noexcept;
256
264 [[nodiscard]] EBGEOMETRY_HOST
265 inline FlatMeshSDF
266 deepCopy(Pool& a_dstPool) const;
267
274 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
276 computeBoundingVolume() const noexcept;
277
278private:
282 typename Mesh::Layout m_meshLayout;
283};
284
289static_assert(std::is_trivially_copyable_v<FlatMeshSDF<float>>, "FlatMeshSDF<float> must be trivially copyable");
290static_assert(std::is_trivially_copyable_v<FlatMeshSDF<double>>, "FlatMeshSDF<double> must be trivially copyable");
291
312template <class T, size_t K>
313class MeshSDF : public PoolHandle
314{
315 static_assert(std::is_floating_point_v<T>, "MeshSDF requires a floating-point T");
316 static_assert(K >= 2, "MeshSDF requires branching factor K >= 2");
317
318public:
324
329
334
339
343 using Node = typename Root::Node;
344
348 MeshSDF() = delete;
349
356 struct Layout
357 {
361 typename Mesh::Layout m_mesh;
362
366 typename Root::Layout m_bvh;
367 };
368
378 MeshSDF(const Layout& a_layout, const PoolLocation& a_location) noexcept
379 : PoolHandle(a_location), m_meshLayout(a_layout.m_mesh), m_bvhLayout(a_layout.m_bvh)
380 {}
381
386 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
387 Layout
388 layout() const noexcept
389 {
390 return Layout{m_meshLayout, m_bvhLayout};
391 }
392
401 [[nodiscard]] EBGEOMETRY_HOST
402 static inline BVH::ConstructionOptions
404
419 inline MeshSDF(const Mesh& a_mesh, Pool& a_pool, const BVH::Construction a_construction);
420
431 inline MeshSDF(const Mesh& a_mesh,
432 Pool& a_pool,
433 const BVH::Construction a_construction,
434 const BVH::ConstructionOptions& a_options);
435
441 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
442 inline T
443 signedDistance(const Vec3T<T>& a_point) const noexcept;
444
453 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
454 inline ClosestFace<T>
455 getClosestFace(const Vec3T<T>& a_point) const noexcept;
456
464 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
465 inline ClosestPoint<T>
466 closestPoint(const Vec3T<T>& a_point) const noexcept;
467
481 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
482 inline Vec3T<T>
483 gradient(const Vec3T<T>& a_point) const noexcept;
484
489 [[nodiscard]] EBGEOMETRY_HOST
490 inline uint32_t
491 getNumParts() const noexcept;
492
499 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
500 inline uint32_t
501 closestPart(const Vec3T<T>& a_point) const noexcept;
502
518 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
519 inline Root
520 getRoot() const noexcept
521 {
522 return Root(m_bvhLayout, this->location());
523 }
524
529 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
530 inline Mesh
531 getMesh() const noexcept
532 {
533 return Mesh(m_meshLayout, this->location());
534 }
535
540 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
542 computeBoundingVolume() const noexcept
543 {
544 return this->getRoot().getBoundingVolume();
545 }
546
554 [[nodiscard]] EBGEOMETRY_HOST
555 inline MeshSDF
556 rebasedView(const Pool& a_pool) const noexcept;
557
566 [[nodiscard]] EBGEOMETRY_HOST
567 inline MeshSDF
568 deepCopy(Pool& a_dstPool) const;
569
570private:
579 [[nodiscard]] EBGEOMETRY_HOST
580 static inline Root
581 buildBVH(const Mesh& a_mesh,
582 Pool& a_pool,
583 const BVH::Construction a_construction,
584 const BVH::ConstructionOptions& a_options);
585
590 typename Mesh::Layout m_meshLayout;
591
595 typename Root::Layout m_bvhLayout;
596};
597
624template <class T, size_t K, size_t W>
625class TriMeshSDF : public PoolHandle
626{
627 static_assert(std::is_floating_point_v<T>, "TriMeshSDF<T,K,W> requires a floating-point T");
628 static_assert(K >= 2, "TriMeshSDF requires branching factor K >= 2");
629 static_assert(W > 0, "TriMeshSDF requires SoA width W > 0");
630
631public:
636 static constexpr DistanceQuality distanceQuality = DistanceQuality::Exact;
637
642
646 using Tri = typename EBGeometry::Triangle<T>;
647
652
657
661 TriMeshSDF() = delete;
662
666 struct Layout
667 {
671 typename Root::Layout m_bvh;
672 };
673
683 TriMeshSDF(const Layout& a_layout, const PoolLocation& a_location) noexcept
684 : PoolHandle(a_location), m_bvhLayout(a_layout.m_bvh)
685 {}
686
691 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
692 Layout
693 layout() const noexcept
694 {
695 return Layout{m_bvhLayout};
696 }
697
708 [[nodiscard]] EBGEOMETRY_HOST
709 static inline BVH::ConstructionOptions
710 defaultConstructionOptions(const size_t a_maxLeafGroups) noexcept;
711
737 inline TriMeshSDF(const Mesh& a_mesh,
738 Pool& a_pool,
739 const BVH::Construction a_construction,
740 const size_t a_maxLeafGroups);
741
752 inline TriMeshSDF(const std::vector<Tri>& a_triangles,
753 Pool& a_pool,
754 const BVH::Construction a_construction,
755 const size_t a_maxLeafGroups);
756
769 inline TriMeshSDF(const Mesh& a_mesh,
770 Pool& a_pool,
771 const BVH::Construction a_construction,
772 const BVH::ConstructionOptions& a_options);
773
782 inline TriMeshSDF(const std::vector<Tri>& a_triangles,
783 Pool& a_pool,
784 const BVH::Construction a_construction,
785 const BVH::ConstructionOptions& a_options);
786
792 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
793 inline T
794 signedDistance(const Vec3T<T>& a_point) const noexcept;
795
807 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
808 inline ClosestFace<T>
809 getClosestFace(const Vec3T<T>& a_point) const noexcept;
810
820 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
821 inline ClosestPoint<T>
822 closestPoint(const Vec3T<T>& a_point) const noexcept;
823
837 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
838 inline Vec3T<T>
839 gradient(const Vec3T<T>& a_point) const noexcept;
840
847 [[nodiscard]] EBGEOMETRY_HOST
848 inline uint32_t
849 getNumParts() const noexcept;
850
857 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
858 inline uint32_t
859 closestPart(const Vec3T<T>& a_point) const noexcept;
860
865 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
866 inline Root
867 getRoot() const noexcept
868 {
869 return Root(m_bvhLayout, this->location());
870 }
871
876 [[nodiscard]] EBGEOMETRY_HOST_DEVICE
878 computeBoundingVolume() const noexcept
879 {
880 return this->getRoot().getBoundingVolume();
881 }
882
890 [[nodiscard]] EBGEOMETRY_HOST
891 inline TriMeshSDF
892 rebasedView(const Pool& a_pool) const noexcept;
893
900 [[nodiscard]] EBGEOMETRY_HOST
901 inline TriMeshSDF
902 deepCopy(Pool& a_dstPool) const;
903
904private:
910 [[nodiscard]] EBGEOMETRY_HOST
911 static inline std::vector<Tri>
912 extractTriangles(const Mesh& a_mesh);
913
922 [[nodiscard]] EBGEOMETRY_HOST
923 static inline Root
924 buildBVH(const std::vector<Tri>& a_triangles,
925 Pool& a_pool,
926 const BVH::Construction a_construction,
927 const BVH::ConstructionOptions& a_options);
928
938 [[nodiscard]] EBGEOMETRY_HOST
939 static inline Root
940 buildClusterSAH(const std::vector<Tri>& a_triangles, Pool& a_pool, const BVH::ClusterSpec& a_spec);
941
949 template <class GetTriangle>
950 [[nodiscard]] EBGEOMETRY_HOST
951 static inline std::vector<TriAoSoA>
952 groupTriangles(const GetTriangle& a_getTriangle, uint32_t a_count);
953
963 [[nodiscard]] EBGEOMETRY_HOST
964 static std::vector<TriAoSoA>
965 groupTrianglesIntoSoA(const std::vector<std::shared_ptr<const Tri>>& a_triangles,
966 uint32_t a_offset,
967 uint32_t a_count);
968
974 explicit TriMeshSDF(const Root& a_bvh) noexcept : PoolHandle(a_bvh.location()), m_bvhLayout(a_bvh.layout())
975 {}
976
981 typename Root::Layout m_bvhLayout;
982};
983
988static_assert(std::is_trivially_copyable_v<MeshSDF<float, 4>>, "MeshSDF<float, 4> must be trivially copyable");
989static_assert(std::is_trivially_copyable_v<MeshSDF<double, 4>>, "MeshSDF<double, 4> must be trivially copyable");
990static_assert(std::is_trivially_copyable_v<TriMeshSDF<float, 4, 4>>,
991 "TriMeshSDF<float, 4, 4> must be trivially copyable");
992static_assert(std::is_trivially_copyable_v<TriMeshSDF<double, 4, 4>>,
993 "TriMeshSDF<double, 4, 4> must be trivially copyable");
994
995} // namespace EBGeometry
996
997#include "EBGeometry_MeshDistanceFunctionsImplem.hpp"
998
999// Every translation unit that sees TriMeshSDF sees its ray form too, so firstHit() on it is the same
1000// function everywhere.
1002
1003#endif
Bounding volume hierarchies: everything in EBGeometry_PackedBVH.hpp, EBGeometry_TreeBVH....
Declarations of bounding volume types used in bounding volume hierarchies.
Declaration of a mesh class which stores a DCEL mesh (with signed distance functions)
How far a function's value can be trusted as a distance: DistanceQuality, and the distanceQualityOf t...
GPU portability layer: host/device decoration macros and backend detection.
#define EBGEOMETRY_HOST_DEVICE
Mark a function as callable from both host and device code (no-op on host compilers).
Definition EBGeometry_GPU.hpp:80
#define EBGEOMETRY_HOST
Mark a function as callable from host code only (no-op on host compilers).
Definition EBGeometry_GPU.hpp:83
Scalar helpers and numeric limits that compile for both host and device.
The ray forms (see RayForm) of the mesh SDFs. TriMeshSDF: its BVH walked along the ray (PackedBVH::tr...
Growable bump arena for the GPU memory foundation.
Declaration of a face-id-carrying wrapper around TriangleSoAT.
Declaration of SoA triangle group for SIMD signed-distance evaluation.
Declaration of a triangle class with signed distance functionality.
Declaration of 2D and 3D point/vector classes with templated precision, and free functions on them.
Axis-aligned bounding box (AABB) enclosing a set of 3D points.
Definition EBGeometry_BoundingVolumes.hpp:37
Face class for navigating a DCEL mesh.
Definition EBGeometry_DCEL_Face.hpp:68
DCEL mesh class - stores a doubly-connected edge mesh.
Definition EBGeometry_DCEL_Mesh.hpp:102
Signed distance function for a DCEL mesh. Does not use BVHs.
Definition EBGeometry_MeshDistanceFunctions.hpp:99
FlatMeshSDF(const Layout &a_layout, const PoolLocation &a_location) noexcept
Rebuild a handle from a stored layout and the location of the pool that holds it.
Definition EBGeometry_MeshDistanceFunctions.hpp:139
T signedDistance(const Vec3T< T > &a_point) const noexcept
Compute the signed distance from a_point to the mesh.
ClosestPoint< T > closestPoint(const Vec3T< T > &a_point) const noexcept
The point of the mesh closest to a_point, the face it lies on, and the pseudonormal there.
uint32_t closestPart(const Vec3T< T > &a_point) const noexcept
The part that decides the value at a point (see hasParts): the closest face's id, getClosestFace(a_po...
Mesh getMesh() const noexcept
Get the underlying DCEL mesh descriptor.
Definition EBGeometry_MeshDistanceFunctions.hpp:241
ClosestFace< T > getClosestFace(const Vec3T< T > &a_point) const noexcept
Find the face closest to a_point, and the signed distance to it.
Layout layout() const noexcept
The object's arrays without its location, for storing it inside another pool-resident object.
Definition EBGeometry_MeshDistanceFunctions.hpp:149
uint32_t getNumParts() const noexcept
How many parts the mesh has (see hasParts): one per face, the mesh's numFaces().
FlatMeshSDF(const Mesh &a_mesh, Pool &a_pool) noexcept
Full constructor.
Vec3T< T > gradient(const Vec3T< T > &a_point) const noexcept
The gradient of the signed distance at a_point, in closed form from the closest point.
EBGeometry::DCEL::MeshT< T > Mesh
Alias for DCEL mesh type.
Definition EBGeometry_MeshDistanceFunctions.hpp:112
FlatMeshSDF rebasedView(const Pool &a_pool) const noexcept
Produce a copy of this object that resolves against a_pool.
static constexpr DistanceQuality distanceQuality
How far signedDistance() can be trusted as a distance: the Euclidean distance to a watertight mesh.
Definition EBGeometry_MeshDistanceFunctions.hpp:107
FlatMeshSDF deepCopy(Pool &a_dstPool) const
Duplicate the mesh's storage into a_dstPool.
FlatMeshSDF()=delete
Disallowed constructor.
EBGeometry::BoundingVolumes::AABBT< T > computeBoundingVolume() const noexcept
Compute the AABB enclosing the entire mesh.
A FlatMeshSDF must be trivially copyable: that is what lets a rebasedView() be byte-copied into a dev...
Definition EBGeometry_MeshDistanceFunctions.hpp:314
Mesh getMesh() const noexcept
Get the DCEL mesh descriptor the BVH's faces resolve against.
Definition EBGeometry_MeshDistanceFunctions.hpp:531
Layout layout() const noexcept
The object's arrays without its location, for storing it inside another pool-resident object.
Definition EBGeometry_MeshDistanceFunctions.hpp:388
typename Root::Node Node
Alias for a single linearized node.
Definition EBGeometry_MeshDistanceFunctions.hpp:343
MeshSDF(const Layout &a_layout, const PoolLocation &a_location) noexcept
Rebuild a handle from a stored layout and the location of the pool that holds it.
Definition EBGeometry_MeshDistanceFunctions.hpp:378
static BVH::ConstructionOptions defaultConstructionOptions() noexcept
The leaf-size settings the constructor without options uses.
EBGeometry::BoundingVolumes::AABBT< T > computeBoundingVolume() const noexcept
Compute the AABB enclosing the entire mesh.
Definition EBGeometry_MeshDistanceFunctions.hpp:542
MeshSDF rebasedView(const Pool &a_pool) const noexcept
Produce a copy of this object that resolves against a_pool.
typename EBGeometry::DCEL::MeshT< T > Mesh
Alias for DCEL mesh type.
Definition EBGeometry_MeshDistanceFunctions.hpp:333
MeshSDF deepCopy(Pool &a_dstPool) const
Duplicate the mesh's and the BVH's storage into a_dstPool.
MeshSDF()=delete
Default disallowed constructor.
typename EBGeometry::DCEL::FaceT< T > Face
Alias for DCEL face type.
Definition EBGeometry_MeshDistanceFunctions.hpp:328
Base of every pool-resident handle: the one PoolLocation its arrays resolve against.
Definition EBGeometry_Pool.hpp:573
PoolLocation location() const noexcept
Where this handle's arrays live.
Definition EBGeometry_Pool.hpp:581
PoolHandle() noexcept=default
An unset location; the first reservation attaches it.
Growable bump arena over a MemoryResource.
Definition EBGeometry_Pool.hpp:210
Signed distance function for a pure triangle mesh using SoA-grouped primitives in a compact (lineariz...
Definition EBGeometry_MeshDistanceFunctions.hpp:626
typename EBGeometry::BVH::PackedBVH< T, TriAoSoA, K > Root
Alias for which BVH root node.
Definition EBGeometry_MeshDistanceFunctions.hpp:656
TriMeshSDF(const std::vector< Tri > &a_triangles, Pool &a_pool, const BVH::Construction a_construction, const size_t a_maxLeafGroups)
Full constructor. Takes the input triangles and creates the BVH.
TriMeshSDF(const std::vector< Tri > &a_triangles, Pool &a_pool, const BVH::Construction a_construction, const BVH::ConstructionOptions &a_options)
Full constructor from a triangle soup, with leaf-size settings.
uint32_t getNumParts() const noexcept
How many parts the mesh has (see hasParts): one per face, one more than the largest face id its trian...
TriMeshSDF()=delete
Default disallowed constructor.
TriMeshSDF(const Mesh &a_mesh, Pool &a_pool, const BVH::Construction a_construction, const size_t a_maxLeafGroups)
Full constructor. Extracts flat triangles from a DCEL mesh, then builds the BVH.
typename EBGeometry::Triangle< T > Tri
Alias for the flat triangle type the BVH is built from.
Definition EBGeometry_MeshDistanceFunctions.hpp:646
EBGeometry::BoundingVolumes::AABBT< T > computeBoundingVolume() const noexcept
Compute the AABB enclosing the entire triangle mesh.
Definition EBGeometry_MeshDistanceFunctions.hpp:878
Layout layout() const noexcept
The object's arrays without its location, for storing it inside another pool-resident object.
Definition EBGeometry_MeshDistanceFunctions.hpp:693
T signedDistance(const Vec3T< T > &a_point) const noexcept
Compute the signed distance from a_point to the triangle mesh.
TriMeshSDF rebasedView(const Pool &a_pool) const noexcept
Produce a copy of this object that resolves against a_pool.
static BVH::ConstructionOptions defaultConstructionOptions(const size_t a_maxLeafGroups) noexcept
The leaf-size settings the constructors taking a_maxLeafGroups use.
TriMeshSDF(const Layout &a_layout, const PoolLocation &a_location) noexcept
Rebuild a handle from a stored layout and the location of the pool that holds it.
Definition EBGeometry_MeshDistanceFunctions.hpp:683
TriMeshSDF(const Mesh &a_mesh, Pool &a_pool, const BVH::Construction a_construction, const BVH::ConstructionOptions &a_options)
Full constructor from a DCEL mesh, with leaf-size settings.
ClosestFace< T > getClosestFace(const Vec3T< T > &a_point) const noexcept
Find the face closest to a_point, and the signed distance to it.
Vec3T< T > gradient(const Vec3T< T > &a_point) const noexcept
The gradient of the signed distance at a_point, in closed form from the closest point.
ClosestPoint< T > closestPoint(const Vec3T< T > &a_point) const noexcept
The point of the mesh closest to a_point, the face it lies on, and the pseudonormal there.
TriMeshSDF deepCopy(Pool &a_dstPool) const
Duplicate the BVH's storage into a_dstPool.
Triangle class with signed distance functionality.
Definition EBGeometry_Triangle.hpp:52
Three-dimensional vector class with arithmetic operators.
Definition EBGeometry_Vec.hpp:258
static constexpr Vec3T< T > zeros() noexcept
Return a vector with x = y = z = 0.
Construction
The preset BVH construction methods that the library's own BVH users accept.
Definition EBGeometry_PackedBVH.hpp:65
Namespace containing all of EBGeometry's functionality.
Definition EBGeometry_Affine.hpp:26
DistanceQuality
How far the value of a signed distance function can be trusted, from strongest to weakest.
Definition EBGeometry_DistanceQuality.hpp:25
@ Exact
The value's magnitude is the Euclidean distance to the surface.
Configuration for the ClusterSAH direct PackedBVH construction path.
Definition EBGeometry_PackedBVH.hpp:94
Leaf-size settings for the preset construction methods, one per family of methods.
Definition EBGeometry_PackedBVH.hpp:115
The face of a mesh closest to a query point, as the mesh SDFs' getClosestFace() returns it.
Definition EBGeometry_MeshDistanceFunctions.hpp:46
uint32_t faceId
Id of the closest face; UINT32_MAX for an empty mesh.
Definition EBGeometry_MeshDistanceFunctions.hpp:48
T signedDistance
Signed distance to the closest face; negative inside.
Definition EBGeometry_MeshDistanceFunctions.hpp:47
The point of a mesh closest to a query point, as the mesh SDFs' closestPoint() returns it.
Definition EBGeometry_MeshDistanceFunctions.hpp:64
T signedDistance
Signed distance, as signedDistance() returns it.
Definition EBGeometry_MeshDistanceFunctions.hpp:65
Vec3T< T > normal
Unit pseudonormal of the face, edge or vertex it lies on.
Definition EBGeometry_MeshDistanceFunctions.hpp:68
Vec3T< T > point
The closest point on the mesh.
Definition EBGeometry_MeshDistanceFunctions.hpp:67
uint32_t faceId
Id of the face the point lies on, as getClosestFace().
Definition EBGeometry_MeshDistanceFunctions.hpp:66
The mesh's arrays as offsets into its pool, with no location: what another pool-resident object store...
Definition EBGeometry_DCEL_Mesh.hpp:159
The object's arrays as offsets into its pool, with no location (see PoolHandle).
Definition EBGeometry_MeshDistanceFunctions.hpp:123
Mesh::Layout m_mesh
The mesh.
Definition EBGeometry_MeshDistanceFunctions.hpp:127
Numeric limits, with the meanings of the std::numeric_limits members of the same names.
Definition EBGeometry_Math.hpp:91
The object's arrays as offsets into its pool, with no location (see PoolHandle).
Definition EBGeometry_MeshDistanceFunctions.hpp:357
Mesh::Layout m_mesh
The mesh.
Definition EBGeometry_MeshDistanceFunctions.hpp:361
Root::Layout m_bvh
The BVH over the mesh's face ids.
Definition EBGeometry_MeshDistanceFunctions.hpp:366
Where a pool-resident descriptor resolves its offsets, and the rules for moving it.
Definition EBGeometry_Pool.hpp:99
The object's arrays as offsets into its pool, with no location (see PoolHandle).
Definition EBGeometry_MeshDistanceFunctions.hpp:667
Root::Layout m_bvh
The BVH over SoA triangle groups.
Definition EBGeometry_MeshDistanceFunctions.hpp:671
Face-id-carrying wrapper around a single TriangleSoAT<T, W>.
Definition EBGeometry_TriangleAoSoA.hpp:50