#include <geom.h>
Inherits Geometry::Vec< 4, Real >.
Public Types | |
typedef Vec< 4, Real >::value_type | value_type |
Used type. | |
Public Methods | |
Hvec3 () | |
Classical constructor. | |
Hvec3 (const value_type tab[4]) | |
Classical constructor. | |
Hvec3 (const std::vector< value_type > &tab) | |
Classical constructor. | |
Hvec3 (const Vec< 4, Real > &v) | |
Classical constructor. | |
Hvec3 (const value_type sx, const value_type sy, const value_type sz=0, const value_type s=1) | |
3D homogeneous constructor. | |
Hvec3 (const Vec2< Real > &sv, const value_type sz=0, const value_type s=1) | |
3D homogeneous constructor. | |
Hvec3 (const Vec3< Real > &sv, const value_type s=1) | |
3D homogeneous constructor. | |
const value_type & | sx () const |
3D homogeneous access. | |
value_type & | sx () |
3D homogeneous access. | |
const value_type & | sy () const |
3D homogeneous access. | |
value_type & | sy () |
3D homogeneous access. | |
const value_type & | sz () const |
3D homogeneous access. | |
value_type & | sz () |
3D homogeneous access. | |
const value_type & | s () const |
3D homogeneous access. | |
value_type & | s () |
3D homogeneous access. | |
value_type | x () const |
Access as a non-homogenous 3D entity. | |
value_type | y () const |
Access as a non-homogenous 3D entity. | |
value_type | z () const |
Access as a non-homogenous 3D entity. |
The vector has 3 coordinates: (sx,sy,sz,s).
|
Used type.
Reimplemented from Geometry::Vec< 4, Real >. |
|
Classical constructor.
|
|
Classical constructor.
|
|
Classical constructor.
|
|
Classical constructor.
|
|
3D homogeneous constructor. (sx,sy,sz,s) are directly goven and not (x,y,z). |
|
3D homogeneous constructor. (sx,sy,sz,s) are directly goven and not (x,y,z). |
|
3D homogeneous constructor. (sx,sy,sz,s) are directly goven and not (x,y,z). |
|
3D homogeneous access.
|
|
3D homogeneous access.
|
|
3D homogeneous access.
|
|
3D homogeneous access.
|
|
3D homogeneous access.
|
|
3D homogeneous access.
|
|
3D homogeneous access.
|
|
3D homogeneous access.
|
|
Access as a non-homogenous 3D entity.
|
|
Access as a non-homogenous 3D entity.
|
|
Access as a non-homogenous 3D entity.
|