#include <point3i.H>
Public Methods | |
point3i () | |
point3i (int x, int y, int z) | |
point3i (int *v) | |
const int * | data () const |
point3i | operator% (cpoint3i &p) const |
point3i | operator- () const |
int | operator[] (int index) const |
int & | operator[] (int index) |
double | length () const |
int | lengthSqrd () const |
int | distSqrd (cpoint3i &p) const |
double | dist (cpoint3i &p) const |
void | operator+= (cpoint3i &p) |
void | operator-= (cpoint3i &p) |
int | operator== (cpoint3i &p) const |
int | operator!= (cpoint3i &p) const |
Protected Attributes | |
int | _x |
int | _y |
int | _z |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|