#include <point3d.H>
Public Methods | |
_point3d () | |
_point3d (Greal x, Greal y, Greal z) | |
void | set (Greal x, Greal y, Greal z) |
const Greal * | data () const |
P | operator * (Greal s) const |
P | operator/ (Greal s) const |
P | operator% (const P &p) const |
P | operator+ (const V &v) const |
V | operator- (const P &p) const |
P | operator- (const V &v) const |
P | operator- () const |
Greal | operator[] (int index) const |
Greal & | operator[] (int index) |
Greal | distSqrd (const P &p) const |
Greal | dist (const P &p) const |
bool | isEqual (const P &p, Greal epsSqrd=epsAbsSqrdMath()) const |
bool | operator== (const P &p) const |
bool | operator!= (const P &p) const |
void | operator%= (const P &p) |
void | operator+= (const V &v) |
void | operator-= (const V &v) |
void | operator *= (Greal s) |
void | operator/= (Greal s) |
Protected Attributes | |
Greal | _x |
Greal | _y |
Greal | _z |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|