i3d::Vector3d< T > Struct Template Reference
#include <vector3d.h>
Public Member Functions | |
Vector3d (T val=0) | |
constructor | |
Vector3d (T x_, T y_, T z_) | |
constructor | |
template<class T2> | |
Vector3d (const Vector3d< T2 > &v) | |
conversion constructor | |
Vector3d< T > & | operator+= (const Vector3d< T > &v) |
left addition | |
Vector3d< T > & | operator-= (const Vector3d< T > &v) |
left subtraction | |
Vector3d< T > & | operator *= (const Vector3d< T > &v) |
left multiplication by another vector | |
Vector3d< T > & | operator/= (const Vector3d< T > &v) |
left division by another vector | |
Vector3d< T > & | operator *= (const T &s) |
left multiplication by scalar | |
Vector3d< T > & | operator/= (const T &s) |
left division by scalar | |
Vector3d< T > | operator- () const |
unary minus = negate | |
bool | InCO (const Vector3d< T > &a, const Vector3d< T > &b) const |
is the vector in the interval [a,b)? | |
bool | InOO (const Vector3d< T > &a, const Vector3d< T > &b) const |
is the vector in the interval (a,b)? | |
bool | InOC (const Vector3d< T > &a, const Vector3d< T > &b) const |
is the vector in the interval (a,b]? | |
bool | InCC (const Vector3d< T > &a, const Vector3d< T > &b) const |
is the vector in the interval [a,b]? | |
Public Attributes | |
T | x |
the particular coordinates |
Detailed Description
template<class T>
struct i3d::Vector3d< T >
General structRuore for 3D coordinations manipulation
The documentation for this struct was generated from the following files:
- vector3d.h
- vector3d.cc