MeshKit
1.0
|
#include <AF2DfltTriangleRules.hpp>
Public Member Functions | |
AF2DfltTriangleRules () | |
Constructor. | |
~AF2DfltTriangleRules () | |
Destructor. | |
AF2DfltTriangleRules (const AF2DfltTriangleRules &toCopy) | |
Copy constructor (throws exception) | |
AF2DfltTriangleRules & | operator= (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 AF2Rule * | make180DegreeRuleQ1 () const |
const AF2Rule * | make180DegreeRuleQ5 () const |
const AF2Rule * | make180DegreeRuleQ10 () const |
const AF2Rule * | make180DegreeRuleQ20 () const |
const AF2Rule * | make60DegreeAngleRightRule () const |
const AF2Rule * | make60DegreeAngleLeftRule () const |
const AF2Rule * | make120DegreeAngleRightRule () const |
const AF2Rule * | make120DegreeAngleLeftRule () const |
const AF2Rule * | make120DegreeAngleBothRule () const |
const AF2Rule * | makeFillTriangleRule () const |
const AF2Rule * | makeConnectVertexRule () const |
const AF2Rule * | makeConnectEdgeRule () const |
AF2PntTrnsfrmLnrV * | makeLinearTransformX (const AF2RuleExistVertex *ruleExVert, double xCoeff) const |
Make a linear point transformation based on a single vertex that translates in the x-direction. | |
AF2PntTrnsfrmLnrV * | makeTranslation (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 |
Definition at line 25 of file AF2DfltTriangleRules.hpp.
Constructor.
Definition at line 21 of file AF2DfltTriangleRules.cpp.
~AF2DfltTriangleRules | ( | ) |
Destructor.
Definition at line 37 of file AF2DfltTriangleRules.cpp.
AF2DfltTriangleRules | ( | const AF2DfltTriangleRules & | toCopy | ) |
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.
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.
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.
ruleExVert | the rule existing vertex whose bound value will be consulted |
xCoeff | the 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.
ruleExVert | the 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.
Definition at line 29 of file AF2DfltTriangleRules.hpp.