gVirtualXRay  2.0.10
VirtualX-RayImagingLibraryonGPU
Namespaces | Functions
Vec3.inl File Reference

Template class to handle 3D vectors. More...

#include <cmath>
#include "gVirtualXRay/OutOfBoundsException.h"
Include dependency graph for Vec3.inl:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gVirtualXRay
 

Functions

template<typename T >
Vec3< T > gVirtualXRay::operator* (const double &aValue, const Vec3< T > &aVector)
 Operator * to multiply each component of the vector by a given value. More...
 
template<typename T >
std::ostream & gVirtualXRay::operator<< (std::ostream &anOutputStream, const Vec3< T > &aVector)
 

Detailed Description

Template class to handle 3D vectors.

Todo:
Add an exception in Length(). Add a header for constants, use EPSILON instead of 0.0000001
Version
1.0
Date
11/11/2013
Author
Dr Franck P. Vidal

License BSD 3-Clause License.

For details on use and redistribution please refer to http://opensource.org/licenses/BSD-3-Clause

Copyright (c) by Dr Franck P. Vidal (franc.nosp@m.k.p..nosp@m.vidal.nosp@m.@fpv.nosp@m.idal..nosp@m.net), http://www.fpvidal.net/, Dec 2014, 2014, version 1.0, BSD 3-Clause License

Definition in file Vec3.inl.