class for holding a two-vector
More...
#include <geom_2d.h>
Public Member Functions |
| Ctwovect () |
| default ctor
|
| Ctwovect (double _x, double _y) |
| ctor with initialisation
|
double | mod2 () const |
| norm (modulud square) of the vector
|
double | modulus () const |
| modulus of the vector
|
Public Attributes |
double | x |
| vector coordinates
|
double | y |
Detailed Description
class for holding a two-vector
Definition at line 73 of file geom_2d.h.
Constructor & Destructor Documentation
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.
The documentation for this class was generated from the following file: