MeshKit
1.0
|
Public Member Functions | |
TestVisitor () | |
void | visit (AF2RuleApplication const &ruleApp) |
Visit an AF2RuleApplication. | |
double | getFirstX () const |
unsigned int | getVisitCount () const |
Private Attributes | |
unsigned int | count |
double | firstX |
Definition at line 47 of file triRule.cpp.
TestVisitor | ( | ) | [inline] |
Definition at line 53 of file triRule.cpp.
double getFirstX | ( | ) | const [inline] |
Definition at line 71 of file triRule.cpp.
unsigned int getVisitCount | ( | ) | const [inline] |
Definition at line 76 of file triRule.cpp.
void visit | ( | AF2RuleApplication const & | ruleApp | ) | [inline, virtual] |
Visit an AF2RuleApplication.
This pure virtual method provides an interface for an AF2RuleAppVisitor to examine and process AF2RuleApplication objects that represent ways that a rule could successfully be applied. When an AF2RuleAppVisitor is passed to the applyRule method of an AF2Rule, each acceptable quality potential application of the rule will be passed to the AF2RuleAppVisitor as an AF2RuleApplication for processing.
This method may change the state of the visitor.
ruleApp | A potential rule application of acceptable quality |
Implements AF2RuleAppVisitor.
Definition at line 58 of file triRule.cpp.
unsigned int count [private] |
Definition at line 50 of file triRule.cpp.
double firstX [private] |
Definition at line 51 of file triRule.cpp.