#include <geom.h>
Inherits Geometry::Vec< 3, Real >.
Public Types | |
typedef Vec< 3, Real >::value_type | value_type |
Used type. | |
Public Methods | |
Vec3 () | |
Classical constructor. | |
Vec3 (const value_type tab[3]) | |
Classical constructor. | |
Vec3 (const std::vector< value_type > &tab) | |
Classical constructor. | |
Vec3 (const Vec< 3, Real > &v) | |
Classical constructor. | |
Vec3 (const value_type x, const value_type y, const value_type z=0) | |
3D constructor. | |
Vec3 (const Vec2< Real > &v, const value_type z=0) | |
3D constructor. | |
Vec3 (const Hvec3< Real > &v) | |
3D constructor. | |
const value_type & | x () const |
3D access. | |
value_type & | x () |
3D access. | |
const value_type & | y () const |
3D access. | |
value_type & | y () |
3D access. | |
const value_type & | z () const |
3D access. | |
value_type & | z () |
3D access. | |
Friends | |
template<typename Real_t> Vec3< Real_t > | operator^ (const Vec3< Real_t > &v1, const Vec3< Real_t > &v2) |
Produit vectoriel. |
|
Used type.
Reimplemented from Geometry::Vec< 3, Real >. |
|
Classical constructor.
|
|
Classical constructor.
|
|
Classical constructor.
|
|
Classical constructor.
|
|
3D constructor.
|
|
3D constructor.
|
|
3D constructor.
|
|
3D access.
|
|
3D access.
|
|
3D access.
|
|
3D access.
|
|
3D access.
|
|
3D access.
|
|
Produit vectoriel.
|