43 {coordinates.zeros();}
50 Node(
double x,
double y,
double z)
58 {
return coordinates[0];}
60 {
return coordinates[1];}
62 {
return coordinates[2];}
88 return norm(*
this - n2, 2);
arma::vec3 operator-(const Node &n2) const
double distance(const Node &n2) const
Node(double x, double y, double z)
arma::vec3 coordinates
Node point in 3D space.
Global macros to enhance readability and debugging, general constants.
const arma::vec3 & point() const