MeshKit  1.0
AF2DfltTriangleRules Class Reference

#include <AF2DfltTriangleRules.hpp>

List of all members.

Public Member Functions

 AF2DfltTriangleRules ()
 Constructor.
 ~AF2DfltTriangleRules ()
 Destructor.
 AF2DfltTriangleRules (const AF2DfltTriangleRules &toCopy)
 Copy constructor (throws exception)
AF2DfltTriangleRulesoperator= (const AF2DfltTriangleRules &rhs)
 Assignment operator (throws exception)
std::list< const AF2Rule * > getRules () const
 Get a list of the default triangle rules for two-dimensional advancing front.

Private Member Functions

const AF2Rulemake180DegreeRuleQ1 () const
const AF2Rulemake180DegreeRuleQ5 () const
const AF2Rulemake180DegreeRuleQ10 () const
const AF2Rulemake180DegreeRuleQ20 () const
const AF2Rulemake60DegreeAngleRightRule () const
const AF2Rulemake60DegreeAngleLeftRule () const
const AF2Rulemake120DegreeAngleRightRule () const
const AF2Rulemake120DegreeAngleLeftRule () const
const AF2Rulemake120DegreeAngleBothRule () const
const AF2RulemakeFillTriangleRule () const
const AF2RulemakeConnectVertexRule () const
const AF2RulemakeConnectEdgeRule () const
AF2PntTrnsfrmLnrVmakeLinearTransformX (const AF2RuleExistVertex *ruleExVert, double xCoeff) const
 Make a linear point transformation based on a single vertex that translates in the x-direction.
AF2PntTrnsfrmLnrVmakeTranslation (const AF2RuleExistVertex *ruleExVert) const
 Make a linear point transformation based on a single vertex that will translate a point by the vector from the reference location to the bound value of the specified vertex.

Private Attributes

std::list< const AF2Rule * > ruleList

Detailed Description

Definition at line 25 of file AF2DfltTriangleRules.hpp.


Constructor & Destructor Documentation

Constructor.

Definition at line 21 of file AF2DfltTriangleRules.cpp.

Destructor.

Definition at line 37 of file AF2DfltTriangleRules.cpp.

Copy constructor (throws exception)

This object does not currently support copying, so this method is implemented to throw an exception.

Definition at line 46 of file AF2DfltTriangleRules.cpp.


Member Function Documentation

std::list< const AF2Rule * > getRules ( ) const

Get a list of the default triangle rules for two-dimensional advancing front.

The list returned from this method may be freely modified by the calling context, but the AF2Rule objects that are returned via pointer are owned by this object.

Returns:
a list of const AF2Rule* suitable for running a two-dimensional advancing front triangle-meshing algorithm

Definition at line 62 of file AF2DfltTriangleRules.cpp.

const AF2Rule * make120DegreeAngleBothRule ( ) const [private]

Definition at line 1081 of file AF2DfltTriangleRules.cpp.

const AF2Rule * make120DegreeAngleLeftRule ( ) const [private]

Definition at line 916 of file AF2DfltTriangleRules.cpp.

const AF2Rule * make120DegreeAngleRightRule ( ) const [private]

Definition at line 751 of file AF2DfltTriangleRules.cpp.

const AF2Rule * make180DegreeRuleQ1 ( ) const [private]

Definition at line 99 of file AF2DfltTriangleRules.cpp.

const AF2Rule * make180DegreeRuleQ10 ( ) const [private]

Definition at line 293 of file AF2DfltTriangleRules.cpp.

const AF2Rule * make180DegreeRuleQ20 ( ) const [private]

Definition at line 389 of file AF2DfltTriangleRules.cpp.

const AF2Rule * make180DegreeRuleQ5 ( ) const [private]

Definition at line 197 of file AF2DfltTriangleRules.cpp.

const AF2Rule * make60DegreeAngleLeftRule ( ) const [private]

Definition at line 615 of file AF2DfltTriangleRules.cpp.

const AF2Rule * make60DegreeAngleRightRule ( ) const [private]

Definition at line 485 of file AF2DfltTriangleRules.cpp.

const AF2Rule * makeConnectEdgeRule ( ) const [private]

Definition at line 1488 of file AF2DfltTriangleRules.cpp.

const AF2Rule * makeConnectVertexRule ( ) const [private]

Definition at line 1312 of file AF2DfltTriangleRules.cpp.

const AF2Rule * makeFillTriangleRule ( ) const [private]

Definition at line 1238 of file AF2DfltTriangleRules.cpp.

AF2PntTrnsfrmLnrV * makeLinearTransformX ( const AF2RuleExistVertex ruleExVert,
double  xCoeff 
) const [private]

Make a linear point transformation based on a single vertex that translates in the x-direction.

The translation will depend on only the x-coordinate of the bound value of the rule existing vertex. It will affect only the x-coordinate of the result of the linear transformation. The coefficient specifies how far to translate relative to the x-coordinate of the bound value.

The returned value will be allocated on the heap with the new operator. It belongs to the calling context and must be deleted there.

Parameters:
ruleExVertthe rule existing vertex whose bound value will be consulted
xCoeffthe translation multiple of the difference between the x-coordinate of the bound value and the x-coordinate of the reference value

Definition at line 67 of file AF2DfltTriangleRules.cpp.

AF2PntTrnsfrmLnrV * makeTranslation ( const AF2RuleExistVertex ruleExVert) const [private]

Make a linear point transformation based on a single vertex that will translate a point by the vector from the reference location to the bound value of the specified vertex.

The translation affects both the x-coordinate and the y-coordinate. If applied to a point at the reference location, as is frequently the case, the effect will be to translate to the bound value location.

The returned value will be allocated on the heap with the new operator. It belongs to the calling context and must be deleted there.

Parameters:
ruleExVertthe rule existing vertex whose bound value will be used

Definition at line 83 of file AF2DfltTriangleRules.cpp.

AF2DfltTriangleRules & operator= ( const AF2DfltTriangleRules rhs)

Assignment operator (throws exception)

This object does not currently support assignment, so this method is implemented to throw an exception.

Definition at line 54 of file AF2DfltTriangleRules.cpp.


Member Data Documentation

std::list<const AF2Rule*> ruleList [private]

Definition at line 29 of file AF2DfltTriangleRules.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines