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