point struct to store node data More...
#include <gsmpicartzone.hpp>
Public Member Functions | |
Point () | |
default Construct a new Point object More... | |
Point (double p[]) | |
Construct a new Point object by a position. More... | |
Point (std::vector< double > pv) | |
Construct a new Point object by a position. More... | |
void | SetPos (double p[]) |
Set the Point's position. More... | |
void | SetPos (std::vector< double > pv) |
Set the Poiont's position. More... | |
void | SetPos (const Point &p) |
Set the Poiont's position. More... | |
Public Attributes | |
double | pos [N_dim] |
point struct to store node data
N_dim | dimension up to 3 |
|
inline |
default Construct a new Point object
|
inline |
Construct a new Point object by a position.
p | array of position |
References gsmpi::Point< N_dim >::SetPos().
|
inline |
Construct a new Point object by a position.
p | array of position (vector class) |
References gsmpi::Point< N_dim >::SetPos().
|
inline |
Set the Poiont's position.
p | position ( point class) |
References gsmpi::Point< N_dim >::pos.
|
inline |
Set the Point's position.
p | position (array) |
References gsmpi::Point< N_dim >::pos.
|
inline |
Set the Poiont's position.
pv | position (vector class) |
References gsmpi::Point< N_dim >::pos.
double gsmpi::Point< N_dim >::pos[N_dim] |