Geogram  Version 1.9.1
A programming library of geometric algorithms
GEO::MeshAABB3d Class Reference

Base class for Axis Aligned Bounding Box trees of mesh elements with 3d boxes. More...

#include <geogram/mesh/mesh_AABB.h>

Inheritance diagram for GEO::MeshAABB3d:
GEO::AABB< BOX > GEO::MeshCellsAABB GEO::MeshFacetsAABB

Public Member Functions

 MeshAABB3d ()
 MeshAABB3d constructor.
 
const Meshmesh () const
 Gets the mesh. More...
 

Protected Attributes

Meshmesh_
 
- Protected Attributes inherited from GEO::AABB< BOX >
index_t nb_
 
vector< BOX > bboxes_
 

Additional Inherited Members

- Protected Member Functions inherited from GEO::AABB< BOX >
void initialize (index_t nb, std::function< void(BOX &, index_t)> get_bbox)
 Initializes this AABB. More...
 
void bbox_intersect_recursive (std::function< void(index_t)> action, const BOX &box, index_t node, index_t b, index_t e) const
 Computes all the elements that have a bbox that intersects a given bbox in a sub-tree of the AABB tree. More...
 
void self_intersect_recursive (std::function< void(index_t, index_t)> action, index_t node1, index_t b1, index_t e1, index_t node2, index_t b2, index_t e2) const
 Computes all the pairs of intersecting elements for two sub-trees of the AABB tree. More...
 
void other_intersect_recursive (std::function< void(index_t, index_t)> action, index_t node1, index_t b1, index_t e1, const AABB< BOX > *other, index_t node2, index_t b2, index_t e2) const
 Computes all the pairs of intersecting elements for two sub-trees of two AABB trees. More...
 
void init_bboxes_recursive (index_t node_index, index_t b, index_t e, std::function< void(BOX &, index_t)> get_bbox)
 Computes the hierarchy of bounding boxes recursively. More...
 
- Static Protected Member Functions inherited from GEO::AABB< BOX >
static index_t max_node_index (index_t node_index, index_t b, index_t e)
 Computes the maximum node index in a subtree. More...
 

Detailed Description

Base class for Axis Aligned Bounding Box trees of mesh elements with 3d boxes.

Definition at line 356 of file mesh_AABB.h.

Member Function Documentation

◆ mesh()

const Mesh* GEO::MeshAABB3d::mesh ( ) const
inline

Gets the mesh.

Returns
a const reference to the mesh.

Definition at line 368 of file mesh_AABB.h.


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