gVirtualXRay  2.0.10
VirtualX-RayImagingLibraryonGPU
Data Structures | Namespaces | Functions
Vec3.h File Reference

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

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

Go to the source code of this file.

Data Structures

class  gVirtualXRay::Vec3< T >
 Vec3 is a template class to handle a 3D vector. More...
 
class  gVirtualXRay::Vec3< T >
 Vec3 is a template class to handle a 3D vector. More...
 

Namespaces

 gVirtualXRay
 

Functions

template<typename T >
std::ostream & gVirtualXRay::operator<< (std::ostream &anOutputStream, const Vec3< T > &aVector)
 
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...
 

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
13/01/2017
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/, Jan 2017, 2017, version 1.1, BSD 3-Clause License

Definition in file Vec3.h.