#include <geom.h>
Inherits Geometry::Vec< 2, Real >.
Public Types | |
typedef Vec< 2, Real >::value_type | value_type |
Used type. | |
Public Methods | |
Vec2 (const value_type x, const value_type y) | |
2D constructor. | |
Vec2 () | |
Classical constructor. | |
Vec2 (const value_type tab[2]) | |
Classical constructor. | |
Vec2 (const std::vector< value_type > &tab) | |
Classical constructor. | |
Vec2 (const Vec< 2, Real > &v) | |
Classical constructor. | |
const value_type & | x () const |
2D access. | |
value_type & | x () |
2D access. | |
const value_type & | y () const |
2D access. | |
value_type & | y () |
2D access. |
|
Used type.
Reimplemented from Geometry::Vec< 2, Real >. |
|
Classical constructor.
|
|
Classical constructor.
|
|
Classical constructor.
|
|
Classical constructor.
|
|
2D constructor.
|
|
2D access.
|
|
2D access.
|
|
2D access.
|
|
2D access.
|