MeshKit  1.0
AF2RuleNewEdge Class Reference

#include <AF2RuleNewEdge.hpp>

List of all members.

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

Detailed Description

Definition at line 10 of file AF2RuleNewEdge.hpp.


Constructor & Destructor Documentation

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.

Parameters:
firstIndexthe index of one endpoint of the edge
secondIndexthe index of the other endpoint of the edge

Definition at line 3 of file AF2RuleNewEdge.cpp.


Member Function Documentation

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.


Member Data Documentation

int a [private]

Definition at line 14 of file AF2RuleNewEdge.hpp.

int b [private]

Definition at line 14 of file AF2RuleNewEdge.hpp.


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