42 {coordinates.zeros();}
49 Node(
double x,
double y,
double z)
57 {
return coordinates[0];}
59 {
return coordinates[1];}
61 {
return coordinates[2];}
87 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