proj home

Files   Classes   Functions   Hierarchy  

simplexface Class Reference

#include <simplexface.h>

Collaboration diagram for simplexface:

List of all members.

Public Member Functions

 simplexface ()
 simplexface (uintc _id, uintc _face)
bool const operator< (simplexface const &tf) const
bool const operator== (simplexface const &tf) const
simplexfaceoperator= (simplexface const &tf)
ostreamprint (ostream &os) const

Public Attributes

uint id
uint face


Detailed Description

Definition at line 14 of file simplexface.h.


Constructor & Destructor Documentation

simplexface::simplexface (  ) 

Definition at line 7 of file simplexface.cpp.

00008   : id(0), face(0)
00009 {
00010 }

simplexface::simplexface ( uintc  _id,
uintc  _face 
)

Definition at line 12 of file simplexface.cpp.

00013   : id(_id), face(_face) 
00014 {
00015 }


Member Function Documentation

bool const simplexface::operator< ( simplexface const &  tf  )  const

Definition at line 29 of file simplexface.cpp.

References face, and id.

00030 {
00031   if (id!=tf.id)
00032     return id < tf.id;
00033 
00034   return face < tf.face;
00035 }

simplexface & simplexface::operator= ( simplexface const &  tf  ) 

Definition at line 18 of file simplexface.cpp.

00021 {
00022   id = tf.id;
00023   face = tf.face;
00024 
00025   return *this;
00026 }

bool const simplexface::operator== ( simplexface const &  tf  )  const

Definition at line 38 of file simplexface.cpp.

References face, and id.

00039 {
00040   if (id!=tf.id)
00041     return false;
00042 
00043   if (face!=tf.face)
00044     return false;
00045 
00046   return true;
00047 }

ostream & simplexface::print ( ostream os  )  const

Definition at line 51 of file simplexface.cpp.

References face.

Referenced by operator<<().

00052 {
00053   return os << id << " " << face;
00054 }


Member Data Documentation

Definition at line 18 of file simplexface.h.

Referenced by d3tess::cpsimplexfaceset(), d4fan::eval(), operator<(), and operator==().


The documentation for this class was generated from the following files:

Generated on Fri Mar 4 00:50:17 2011 for Chelton Evans Source by  doxygen 1.5.8