The class Point
is used to store the coordinates of a point.
More...
#include <point.hpp>
|
int | ndim |
| Number of dimensions. More...
|
|
Memory_mapped_array< double > | coord |
| Array on the coordinates (mainly designed for absolute Cartesian coordinates). More...
|
|
The class Point
is used to store the coordinates of a point.
Definition at line 30 of file point.hpp.
◆ Point() [1/2]
Kadath::Point::Point |
( |
int |
n | ) |
|
|
inlineexplicit |
Standard constructor (the coordinates are not affected).
- Parameters
-
n | [input] : number of dimensions. |
Definition at line 40 of file point.hpp.
References coord, and ndim.
◆ Point() [2/2]
Kadath::Point::Point |
( |
FILE * |
fd | ) |
|
◆ get_ndim()
const int& Kadath::Point::get_ndim |
( |
| ) |
const |
|
inline |
Returns the number of dimensions.
Definition at line 51 of file point.hpp.
References ndim.
◆ operator()()
double Kadath::Point::operator() |
( |
int |
i | ) |
const |
|
inline |
Read only access to a coordinate.
Definition at line 49 of file point.hpp.
References coord, and ndim.
◆ save()
void Kadath::Point::save |
( |
FILE * |
fd | ) |
const |
◆ set()
double& Kadath::Point::set |
( |
int |
i | ) |
|
|
inline |
◆ operator<<
ostream& operator<< |
( |
ostream & |
o, |
|
|
const Point & |
so |
|
) |
| |
|
friend |
◆ coord
Memory_mapped_array<double> Kadath::Point::coord |
|
protected |
Array on the coordinates (mainly designed for absolute Cartesian coordinates).
Definition at line 33 of file point.hpp.
◆ ndim
Number of dimensions.
Definition at line 32 of file point.hpp.
The documentation for this class was generated from the following files: