SimplexData< ambient, topological > Class Template Reference

#include <SimplexData.h>

List of all members.

Public Types

typedef BallSet::const_iterator lower_it
typedef BallSet::const_iterator upper_it
typedef list< Vertex
* >::const_iterator 
vertex_it

Public Member Functions

 SimplexData ()
 ~SimplexData ()
Simplex<->Ball mapping.
Simplices and balls are in one-to-one correspondence during SVR, except temporarily -- the simplex is created first. The following functions maintain that correspondence.

BalltoBall () const
void setBall (Ball *b)
bool isCrowded () const
VertexfindWarpVertex (const Point &p, double &r2) const
lower_it begin_lowers () const
lower_it end_lowers () const
upper_it begin_uppers () const
upper_it end_uppers () const
void removeLower (Ball *b)
void blindlyAddLower (Ball *b)
void removeUpper (Ball *b)
void blindlyAddUpper (Ball *b)
void unlink ()
void gatherLowers (BallSet &output) const
void gatherUppers (BallSet &output) const

template<size_t ambient, size_t topological>
class SimplexData< ambient, topological >


Member Typedef Documentation

template<size_t ambient, size_t topological>
typedef BallSet::const_iterator SimplexData< ambient, topological >::lower_it
 

template<size_t ambient, size_t topological>
typedef BallSet::const_iterator SimplexData< ambient, topological >::upper_it
 

template<size_t ambient, size_t topological>
typedef list<Vertex*>::const_iterator SimplexData< ambient, topological >::vertex_it
 


Constructor & Destructor Documentation

template<size_t ambient, size_t topological>
SimplexData< ambient, topological >::SimplexData  )  [inline]
 

template<size_t ambient, size_t topological>
SimplexData< ambient, topological >::~SimplexData  )  [inline]
 


Member Function Documentation

template<size_t ambient, size_t topological>
lower_it SimplexData< ambient, topological >::begin_lowers  )  const [inline]
 

Iterate over the list of lower-dimensional balls.

template<size_t ambient, size_t topological>
upper_it SimplexData< ambient, topological >::begin_uppers  )  const [inline]
 

Iterate over the list of upper-dimensional balls.

template<size_t ambient, size_t topological>
void SimplexData< ambient, topological >::blindlyAddLower Ball b  )  [inline]
 

Add a lower-dimensional ball associated with this simplex. The caller is assumed to know that the simplex and ball should be associated.

template<size_t ambient, size_t topological>
void SimplexData< ambient, topological >::blindlyAddUpper Ball b  )  [inline]
 

Add an upper-dimensional ball associated with this simplex. The caller is assumed to know that the simplex and ball should be associated.

template<size_t ambient, size_t topological>
lower_it SimplexData< ambient, topological >::end_lowers  )  const [inline]
 

Iterate over the list of lower-dimensional balls.

template<size_t ambient, size_t topological>
upper_it SimplexData< ambient, topological >::end_uppers  )  const [inline]
 

Iterate over the list of upper-dimensional balls.

template<size_t ambient, size_t topological>
Vertex* SimplexData< ambient, topological >::findWarpVertex const Point p,
double &  r2
const [inline]
 

Return the uninserted point nearest to p, at a maximum distance of r2. Outputs the point and updates r2 (returns NULL and leaves r2 unchanged if no nearer point is used).

template<size_t ambient, size_t topological>
void SimplexData< ambient, topological >::gatherLowers BallSet output  )  const [inline]
 

Gather the set of lower-dimensional balls and output them into the set.

template<size_t ambient, size_t topological>
void SimplexData< ambient, topological >::gatherUppers BallSet output  )  const [inline]
 

Gather the set of higher-dimensional balls and output them into the set.

template<size_t ambient, size_t topological>
bool SimplexData< ambient, topological >::isCrowded  )  const [inline]
 

Return whether the simplex is crowded. This occurs exactly when its list of uninserted vertices is non-empty.

template<size_t ambient, size_t topological>
void SimplexData< ambient, topological >::removeLower Ball b  )  [inline]
 

Remove a lower-dimensional ball associated with this simplex.

template<size_t ambient, size_t topological>
void SimplexData< ambient, topological >::removeUpper Ball b  )  [inline]
 

Remove an upper-dimensional ball associated with this simplex.

template<size_t ambient, size_t topological>
void SimplexData< ambient, topological >::setBall Ball b  )  [inline]
 

Set the ball to be associated with the simplex. It is an error to call this function twice. Really we should have this be private, befriending PBall<Mesh>.

template<size_t ambient, size_t topological>
Ball* SimplexData< ambient, topological >::toBall  )  const [inline]
 

Return the ball associated with the simplex. Returns NULL if no ball has yet been attached to the simplex.

template<size_t ambient, size_t topological>
void SimplexData< ambient, topological >::unlink  )  [inline]
 


The documentation for this class was generated from the following file:
Generated on Thu Mar 27 19:04:15 2008 by  doxygen 1.4.6