Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEO::PeriodicDelaunay3d::IncidentTetrahedra Struct Reference

Gathers some structures used by some algorithms, makes multithreading more efficient by avoiding dynamic reallocations. More...

#include <geogram/delaunay/periodic_delaunay_3d.h>

Public Member Functions

void clear_incident_tets ()
 Clears the set of incident tets.
 
void add_incident_tet (index_t t)
 Inserts a tet into the set of incident tets. More...
 
bool has_incident_tet (index_t t) const
 Tests whether a tet belongs to the set of incident tets. More...
 
vector< index_t >::const_iterator begin () const
 
vector< index_t >::const_iterator end () const
 

Public Attributes

std::stack< index_tS
 
vector< index_tincident_tets_set
 

Detailed Description

Gathers some structures used by some algorithms, makes multithreading more efficient by avoiding dynamic reallocations.

It is used to compute the set of tetrahedra incident to a vertex. It gathers a stack and the vector of incident tets obtained so far.

Definition at line 78 of file periodic_delaunay_3d.h.

Member Function Documentation

◆ add_incident_tet()

void GEO::PeriodicDelaunay3d::IncidentTetrahedra::add_incident_tet ( index_t  t)
inline

Inserts a tet into the set of incident tets.

Parameters
[in]tthe tet to be inserted.

Definition at line 93 of file periodic_delaunay_3d.h.

◆ has_incident_tet()

bool GEO::PeriodicDelaunay3d::IncidentTetrahedra::has_incident_tet ( index_t  t) const
inline

Tests whether a tet belongs to the set of incident tets.

Parameters
[in]tthe tet to be tested
Return values
trueif the tet belongs to the set of incident tets
falseotherwise

Definition at line 104 of file periodic_delaunay_3d.h.


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