EBGeometry  1.0
Classes | Typedefs | Enumerations | Functions
DCEL Namespace Reference

Namespace containing various double-connected edge list (DCEL) functionality. More...

Classes

class  VertexT
 Vertex class. More...
 
class  EdgeT
 Edge class. More...
 
class  FaceT
 Face class. More...
 
class  MeshT
 Mesh class. More...
 
class  EdgeIteratorT
 Edge iterator class. More...
 

Typedefs

using DefaultMetaData = short
 Default meta-data type for the DCEL primitives.
 

Enumerations

enum class  VertexNormalWeight { None , Angle }
 Enum for putting some logic into how vertex normal weights are calculated.
 

Functions

template<class T , class Meta , class BV , size_t K>
std::shared_ptr< EBGeometry::BVH::NodeT< T, FaceT< T, Meta >, BV, K > > buildFullBVH (const std::shared_ptr< EBGeometry::DCEL::MeshT< T, Meta >> &a_dcelMesh, const BVH::Build a_build=BVH::Build::TopDown) noexcept
 One-liner for turning a DCEL mesh into a full-tree BVH. More...
 

Detailed Description

Namespace containing various double-connected edge list (DCEL) functionality.

Function Documentation

◆ buildFullBVH()

template<class T , class Meta , class BV , size_t K>
std::shared_ptr<EBGeometry::BVH::NodeT<T, FaceT<T, Meta>, BV, K> > DCEL::buildFullBVH ( const std::shared_ptr< EBGeometry::DCEL::MeshT< T, Meta >> &  a_dcelMesh,
const BVH::Build  a_build = BVH::Build::TopDown 
)
noexcept

One-liner for turning a DCEL mesh into a full-tree BVH.

Parameters
[in]a_dcelMeshInput DCEL mesh.
[in]a_buildBuild specification for BVH.
Returns
Returns a pointer to a full-tree BVH representation of the DCEL faces.