Files Classes Functions Hierarchy
#include <simplexD1indexed.h>
Public Member Functions | |
| simplexD1indexed () | |
| Construct a null line. | |
| simplexD1indexed (INDX const a, INDX const b) | |
| Construct a line. | |
| boolc | operator== (simplexD1indexed< INDX > const &t) const |
| Are two lines the same? | |
| void | setnull () |
| Set all fields to 0. | |
| boolc | isnull () const |
| Is this a line? Are all the fields set to zero? | |
| ostream & | print (ostream &os) const |
| Global << calls this. | |
| operator stringc () const | |
| Serialize this object. | |
Public Attributes | |
| INDX | pi [2] |
| Indexes to points or vertexes. | |
The indexes refer to points. These may or may not be ordered depending on the application.
Definition at line 14 of file simplexD1indexed.h.
| simplexD1indexed< INDX >::simplexD1indexed | ( | ) | [inline] |
Construct a null line.
Definition at line 22 of file simplexD1indexed.h.
References simplexD1indexed< INDX >::pi.
| simplexD1indexed< INDX >::simplexD1indexed | ( | INDX const | a, | |
| INDX const | b | |||
| ) | [inline] |
Construct a line.
Definition at line 25 of file simplexD1indexed.h.
References simplexD1indexed< INDX >::pi.
| boolc simplexD1indexed< INDX >::isnull | ( | ) | const [inline] |
Is this a line? Are all the fields set to zero?
Definition at line 84 of file simplexD1indexed.h.
References simplexD1indexed< INDX >::pi.
00085 { 00086 if (pi[0]!=0) 00087 return false; 00088 00089 if (pi[1]!=0) 00090 return false; 00091 00092 return true; 00093 }
| simplexD1indexed< INDX >::operator stringc | ( | ) | const [inline] |
Serialize this object.
Definition at line 55 of file simplexD1indexed.h.
References simplexD1indexed< INDX >::pi.
| boolc simplexD1indexed< INDX >::operator== | ( | simplexD1indexed< INDX > const & | t | ) | const [inline] |
| ostream& simplexD1indexed< INDX >::print | ( | ostream & | os | ) | const [inline] |
Global << calls this.
Definition at line 38 of file simplexD1indexed.h.
References simplexD1indexed< INDX >::pi.
| void simplexD1indexed< INDX >::setnull | ( | ) | [inline] |
Set all fields to 0.
Definition at line 32 of file simplexD1indexed.h.
References simplexD1indexed< INDX >::pi.
| INDX simplexD1indexed< INDX >::pi[2] |
Indexes to points or vertexes.
Definition at line 19 of file simplexD1indexed.h.
Referenced by simplexD1indexed< INDX >::isnull(), simplexD1indexed< INDX >::operator stringc(), simplexD1indexed< INDX >::print(), simplexD1indexed< INDX >::setnull(), and simplexD1indexed< INDX >::simplexD1indexed().
1.5.8