cheshirekow  v0.1.0
edelsbrunner96::Facet< Traits > Struct Template Reference

A facet is a (d-1)-dimensional simplex. More...

#include <edelsbrunner96/facet.h>

Public Types

typedef Traits::SimplexRef SimplexRef
 
typedef Traits::Storage Storage
 

Public Member Functions

void Construct (Storage &storage, SimplexRef s_0, SimplexRef s_1)
 Assigns the two simplex references and latches their current version number. More...
 
bool StillExists (Storage &storage)
 Returns true if the two simplex references still have the same version as the time when Construct was called. More...
 

Public Attributes

std::array< SimplexRef, 2 > s
 the two simplices More...
 
std::array< uint16_t, 2 > v
 the version of the two simplices at creation More...
 

Detailed Description

template<class Traits>
struct edelsbrunner96::Facet< Traits >

A facet is a (d-1)-dimensional simplex.

We represent a facet by pointing to a pair of simplices. It is assumed that the simplices contain NDim common vertices, and each simlex contains one vertex which is not common to the other.

Definition at line 42 of file facet.h.

Member Typedef Documentation

template<class Traits >
typedef Traits::SimplexRef edelsbrunner96::Facet< Traits >::SimplexRef

Definition at line 44 of file facet.h.

template<class Traits >
typedef Traits::Storage edelsbrunner96::Facet< Traits >::Storage

Definition at line 43 of file facet.h.

Member Function Documentation

template<class Traits >
void edelsbrunner96::Facet< Traits >::Construct ( Storage storage,
SimplexRef  s_0,
SimplexRef  s_1 
)

Assigns the two simplex references and latches their current version number.

Definition at line 37 of file facet.hpp.

template<class Traits >
bool edelsbrunner96::Facet< Traits >::StillExists ( Storage storage)

Returns true if the two simplex references still have the same version as the time when Construct was called.

Definition at line 47 of file facet.hpp.

Member Data Documentation

template<class Traits >
std::array<SimplexRef, 2> edelsbrunner96::Facet< Traits >::s

the two simplices

Definition at line 46 of file facet.h.

template<class Traits >
std::array<uint16_t, 2> edelsbrunner96::Facet< Traits >::v

the version of the two simplices at creation

Definition at line 47 of file facet.h.


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