In file SM2/SM2.h:

class SM2FaceAreaConstraint : public Constraint

a class corresponding to a position constraint where vertices metric parameters are adjusted in order to equalize face areas

Inheritance:


Public Classes

class MissingMesh : public Exception
an exception class thrown when the mesh contour is not valid

Public Methods

virtual void apply ()
the apply fonction that modifies the metric parameters of all vertices in order to minimize the variation of face area around each vertex
SM2* getMesh () const
returns the 2-simplex mesh involved in the constraint
double getConstraintMagnitude () const
returns the angle between the contour normal vector and the surface normal vector
void setConstraintMagnitude (const double _constraintMagnitude)
sets the angle between the contour normal vector and the surface normal vector

Public

constructor
destructor
virtual ~SM2FaceAreaConstraint ()
delete the constraint and reset mesh metric parameters

Private Fields

SM2* mesh
pointer of the 2 simplex mesh
double constraintMagnitude
the magnitude of the face area constraint : must be between 0

Documentation

a class corresponding to a position constraint where vertices metric parameters are adjusted in order to equalize face areas
class MissingMesh: public Exception
an exception class thrown when the mesh contour is not valid

SM2* mesh
pointer of the 2 simplex mesh

double constraintMagnitude
the magnitude of the face area constraint : must be between 0.0 (no constraint applied) and 1.0 (maximum impact of the constraint)

virtual void apply()
the apply fonction that modifies the metric parameters of all vertices in order to minimize the variation of face area around each vertex

SM2* getMesh() const
returns the 2-simplex mesh involved in the constraint

double getConstraintMagnitude() const
returns the angle between the contour normal vector and the surface normal vector

void setConstraintMagnitude(const double _constraintMagnitude)
sets the angle between the contour normal vector and the surface normal vector

constructor

destructor

virtual ~SM2FaceAreaConstraint()
delete the constraint and reset mesh metric parameters


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de