Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

EDGE Class Reference

#include <edge.h>

List of all members.

Public Methods

 EDGE ()
 ~EDGE ()
int Compare (const EDGE &Edge)
int GetMyPosition () const
void SetMyPosition (int newPosition)

Public Attributes

int linkPosition
bool removable
VERTEX Vertex [2]


Constructor & Destructor Documentation

EDGE::EDGE  
 

Definition at line 6 of file edge.cpp.

00007 {
00008 }

EDGE::~EDGE  
 

Definition at line 10 of file edge.cpp.

00011 {
00012 }


Member Function Documentation

int EDGE::Compare const EDGE &    Edge
 

Definition at line 14 of file edge.cpp.

References bigger, linkPosition, same, and smaller.

00015 {
00016     if (linkPosition < Edge.linkPosition)
00017             return smaller;
00018       if (linkPosition > Edge.linkPosition)
00019             return bigger;
00020       else
00021             return same;
00022 }

int EDGE::GetMyPosition   const [inline]
 

Definition at line 15 of file edge.h.

References linkPosition.

00015 {return linkPosition;}

void EDGE::SetMyPosition int    newPosition [inline]
 

Definition at line 16 of file edge.h.

References linkPosition.

00016 {linkPosition = newPosition;}


Member Data Documentation

int EDGE::linkPosition
 

Definition at line 17 of file edge.h.

Referenced by Compare(), GetMyPosition(), and SetMyPosition().

bool EDGE::removable
 

Definition at line 19 of file edge.h.

VERTEX EDGE::Vertex[2]
 

Definition at line 20 of file edge.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 23 05:15:51 2005 for Constructive Solid Geometry by doxygen1.2.15