cheshirekow  v0.1.0
mpblocks::simplex_tree::Geometry< Traits > Class Template Reference

provides vertex storage for recursively building the "active" simplex during insertion More...

#include <mpblocks/simplex_tree/Geometry.h>

Public Types

typedef std::bitset
< Traits::NDim+1 > 
Bitset_t
 
typedef Traits::Format Format_t
 
typedef unsigned int Index_t
 
typedef Traits::Node Node_t
 
typedef Eigen::Matrix
< Format_t, Traits::NDim+1,
Traits::NDim > 
Normals_t
 
typedef Eigen::Matrix
< Format_t, Traits::NDim+1, 1 > 
Offsets_t
 
typedef Eigen::Matrix
< Format_t, Traits::NDim, 1 > 
Point_t
 
typedef Simplex< Traits > Simplex_t
 
typedef Eigen::Matrix
< Format_t, Traits::NDim, 1 > 
Vector_t
 
typedef Eigen::Matrix
< Format_t, Traits::NDim,
Traits::NDim+1 > 
Vertices_t
 

Public Member Functions

void initFaces ()
 build a set of faces based on the current simplex, appropriately handling vertices at infinity More...
 
void refine (Index_t i, const Point_t &v)
 refine by replacing the i'th vertex with the specified point More...
 
void reset ()
 make infinite More...
 

Protected Attributes

Bitset_t m_isSet
 whether or not the i'th vertex is set More...
 
Vertices_t m_v
 storage for vertices More...
 

Static Protected Attributes

static const Format_t sm_n = std::sqrt( Traits::NDim )
 

Detailed Description

template<class Traits>
class mpblocks::simplex_tree::Geometry< Traits >

provides vertex storage for recursively building the "active" simplex during insertion

Definition at line 41 of file Geometry.h.

Member Typedef Documentation

template<class Traits >
typedef std::bitset<Traits::NDim+1> mpblocks::simplex_tree::Geometry< Traits >::Bitset_t

Definition at line 54 of file Geometry.h.

template<class Traits >
typedef Traits::Format mpblocks::simplex_tree::Geometry< Traits >::Format_t

Definition at line 45 of file Geometry.h.

template<class Traits >
typedef unsigned int mpblocks::simplex_tree::Geometry< Traits >::Index_t

Definition at line 48 of file Geometry.h.

template<class Traits >
typedef Traits::Node mpblocks::simplex_tree::Geometry< Traits >::Node_t

Definition at line 46 of file Geometry.h.

template<class Traits >
typedef Eigen::Matrix<Format_t,Traits::NDim+1,Traits::NDim> mpblocks::simplex_tree::Geometry< Traits >::Normals_t

Definition at line 52 of file Geometry.h.

template<class Traits >
typedef Eigen::Matrix<Format_t,Traits::NDim+1,1> mpblocks::simplex_tree::Geometry< Traits >::Offsets_t

Definition at line 53 of file Geometry.h.

template<class Traits >
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::simplex_tree::Geometry< Traits >::Point_t

Definition at line 50 of file Geometry.h.

template<class Traits >
typedef Simplex<Traits> mpblocks::simplex_tree::Geometry< Traits >::Simplex_t

Definition at line 44 of file Geometry.h.

template<class Traits >
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::simplex_tree::Geometry< Traits >::Vector_t

Definition at line 49 of file Geometry.h.

template<class Traits >
typedef Eigen::Matrix<Format_t,Traits::NDim,Traits::NDim+1> mpblocks::simplex_tree::Geometry< Traits >::Vertices_t

Definition at line 51 of file Geometry.h.

Member Function Documentation

template<class Traits >
void mpblocks::simplex_tree::Geometry< Traits >::initFaces ( )

build a set of faces based on the current simplex, appropriately handling vertices at infinity

Definition at line 52 of file Geometry.hpp.

template<class Traits >
void mpblocks::simplex_tree::Geometry< Traits >::refine ( Index_t  i,
const Point_t v 
)

refine by replacing the i'th vertex with the specified point

Definition at line 45 of file Geometry.hpp.

template<class Traits >
void mpblocks::simplex_tree::Geometry< Traits >::reset ( )

make infinite

Definition at line 39 of file Geometry.hpp.

Member Data Documentation

template<class Traits >
Bitset_t mpblocks::simplex_tree::Geometry< Traits >::m_isSet
protected

whether or not the i'th vertex is set

Definition at line 59 of file Geometry.h.

template<class Traits >
Vertices_t mpblocks::simplex_tree::Geometry< Traits >::m_v
protected

storage for vertices

Definition at line 60 of file Geometry.h.

template<class Traits >
const Traits::Format mpblocks::simplex_tree::Geometry< Traits >::sm_n = std::sqrt( Traits::NDim )
staticprotected

Definition at line 57 of file Geometry.h.


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