MeshKit
1.0
|
#include <AF2RuleNewEdge.hpp>
Public Member Functions | |
AF2RuleNewEdge (int firstIndex, int secondIndex) | |
Constructor. | |
int | getFirstIndex () const |
Get the index of one of the two endpoints of the edge that the rule would create. | |
int | getSecondIndex () const |
Get the index of the other of the two endpoints of the edge that the rule would create. | |
Private Attributes | |
int | a |
int | b |
Definition at line 10 of file AF2RuleNewEdge.hpp.
AF2RuleNewEdge | ( | int | firstIndex, |
int | secondIndex | ||
) |
Constructor.
The constructor requires arguments for the indices of the two endpoints of the edge that the rule would create. The indices must index into the list of vertices associated with whichever rules this AF2RuleNewEdge is a member of. The list of vertices associated with the rule is the concatenation of the list of existing vertices in the rule and the list of new vertices that the rule would create.
firstIndex | the index of one endpoint of the edge |
secondIndex | the index of the other endpoint of the edge |
Definition at line 3 of file AF2RuleNewEdge.cpp.
int getFirstIndex | ( | ) | const |
Get the index of one of the two endpoints of the edge that the rule would create.
The index will be an index into the list of vertices associated with the rule, with the existing vertices listed before new vertices that the rule would create.
Definition at line 9 of file AF2RuleNewEdge.cpp.
int getSecondIndex | ( | ) | const |
Get the index of the other of the two endpoints of the edge that the rule would create.
The index will be an index into the list of vertices associated with the rule, with the existing vertices listed before new vertices that the rule would create.
Definition at line 14 of file AF2RuleNewEdge.cpp.
int a [private] |
Definition at line 14 of file AF2RuleNewEdge.hpp.
int b [private] |
Definition at line 14 of file AF2RuleNewEdge.hpp.