class for holding a two-vector
More...
#include <geom_2d.h>
class for holding a two-vector
Definition at line 73 of file geom_2d.h.
◆ Ctwovect() [1/2]
siscone::Ctwovect::Ctwovect |
( |
| ) |
|
|
inline |
◆ Ctwovect() [2/2]
siscone::Ctwovect::Ctwovect |
( |
double |
_x, |
|
|
double |
_y |
|
) |
| |
|
inline |
ctor with initialisation
- Parameters
-
_x | first coordinate |
_y | second coordinate |
Definition at line 81 of file geom_2d.h.
◆ mod2()
double siscone::Ctwovect::mod2 |
( |
| ) |
const |
|
inline |
norm (modulud square) of the vector
Definition at line 87 of file geom_2d.h.
References x.
Referenced by modulus().
◆ modulus()
double siscone::Ctwovect::modulus |
( |
| ) |
const |
|
inline |
double siscone::Ctwovect::x |
double siscone::Ctwovect::y |
The documentation for this class was generated from the following file: