![]() |
Vault
4.1
|
VPoint3DT defines a point with x, y, and z coordinates. More...
#include <vgeometry.h>
Public Member Functions | |
VPoint3DT (T x, T y, T z) | |
VPoint3DT (VBinaryIOStream &stream) | |
void | readFromStream (VBinaryIOStream &stream) |
void | writeToStream (VBinaryIOStream &stream) const |
T | getX () const |
T | getY () const |
T | getZ () const |
void | setX (T x) |
void | setY (T y) |
void | setZ (T z) |
T & | rX () |
T & | rY () |
T & | rZ () |
void | setNull () |
VPoint3DT< T > & | operator+= (const VPoint3DT< T > &p) |
VPoint3DT< T > & | operator-= (const VPoint3DT< T > &p) |
VPoint3DT< T > & | operator*= (T scale) |
VPoint3DT< T > & | operator/= (T divisor) |
Static Public Member Functions | |
static bool | equal (const VPoint3DT< T > &p1, const VPoint3DT< T > &p2) |
static bool | notEqual (const VPoint3DT< T > &p1, const VPoint3DT< T > &p2) |
Friends | |
bool | operator== (const VPoint3DT< T > &p1, const VPoint3DT< T > &p2) |
bool | operator!= (const VPoint3DT< T > &p1, const VPoint3DT< T > &p2) |
VPoint3DT< T > | operator+ (const VPoint3DT< T > &p1, const VPoint3DT< T > &p2) |
VPoint3DT< T > | operator- (const VPoint3DT< T > &p1, const VPoint3DT< T > &p2) |
VPoint3DT< T > | operator- (const VPoint3DT< T > &p) |
VPoint3DT< T > | operator* (const VPoint3DT< T > &p, T scale) |
VPoint3DT< T > | operator* (T scale, const VPoint3DT< T > &p) |
VPoint3DT< T > | operator/ (const VPoint3DT< T > &p, T divisor) |
VPoint3DT defines a point with x, y, and z coordinates.
VPoint3D uses VDouble coordinates; VIPoint3D uses int coordinates.
Definition at line 258 of file vgeometry.h.