Vault  4.1
Public Member Functions | Static Public Member Functions | Friends
VPoint3DT< T > Class Template Reference

VPoint3DT defines a point with x, y, and z coordinates. More...

#include <vgeometry.h>

List of all members.

Public Member Functions

 VPoint3DT (T x, T y, T z)
 VPoint3DT (VBinaryIOStream &stream)
void readFromStream (VBinaryIOStream &stream)
void writeToStream (VBinaryIOStream &stream) const
getX () const
getY () const
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)

Detailed Description

template<typename T>
class VPoint3DT< T >

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.


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

Copyright ©1997-2014 Trygve Isaacson. All rights reserved. This documentation was generated with Doxygen.