EdgeRemoval< _QualityMetric, _Point, _Number > Class Template Reference

Edge removal in a tetrahedral mesh. More...

#include <EdgeRemoval.h>

List of all members.

Public Types

typedef _QualityMetric QualityMetric
 The tetrahedron quality metric.
typedef _Point Point
 The point type.
typedef _Number Number
 The number type;.

Public Member Functions

void fillTables ()
 CONTINUE.
void buildTriangles ()
 CONTINUE.
void buildTrianglesRecurse (const int i, const int j)
 CONTINUE.
Number computeQuality (const int i, const int k, const int j) const
 CONTINUE.
Number computeQualityWithEdge () const
 CONTINUE.
Number computeQuality (const int i) const
 CONTINUE.
Constructors and Destructor.

 EdgeRemoval ()
 Default constructor. Unititialized memory.
 ~EdgeRemoval ()
 Destructor.
Accessors.

int getNumberOfTriangles () const
 Return the number of triangles in the triangulation of the ring.
const ads::FixedArray< 3, int > & getTriangle (const int n) const
 Return the n_th triangle of the triangulation of the ring.
Manipulators.

void setSource (const Point &src)
 Set the source vertex of the edge.
void setTarget (const Point &tgt)
 Set the target vertex of the edge.
template<typename InputIterator >
void setRing (InputIterator begin, InputIterator end)
 Set the ring of vertices around the edge.
Tetrahedralization.

bool solve ()
 Try to find a tetrahedralization with better quality that threshhold.

Detailed Description

template<class _QualityMetric = SimplexModCondNum<3>, class _Point = ads::FixedArray<3>, typename _Number = typename _Point::value_type>
class EdgeRemoval< _QualityMetric, _Point, _Number >

Edge removal in a tetrahedral mesh.


Member Function Documentation

template<class _QualityMetric = SimplexModCondNum<3>, class _Point = ads::FixedArray<3>, typename _Number = typename _Point::value_type>
template<typename InputIterator >
void EdgeRemoval< _QualityMetric, _Point, _Number >::setRing ( InputIterator  begin,
InputIterator  end 
) [inline]

Set the ring of vertices around the edge.

The vertices should go around the edge in the positive direction.

template<class _QualityMetric = SimplexModCondNum<3>, class _Point = ads::FixedArray<3>, typename _Number = typename _Point::value_type>
bool EdgeRemoval< _QualityMetric, _Point, _Number >::solve (  ) 

Try to find a tetrahedralization with better quality that threshhold.

Returns:
true if there is a tetrahedralization with better quality than the given threshhold. Otherwise return false.

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:58 2016 for Computational Geometry Package by  doxygen 1.6.3