Flow123d  jenkins-Flow123d-linux-release-multijob-282
Public Member Functions | Public Attributes | Private Attributes | List of all members
Node Class Reference

#include <nodes.hh>

Collaboration diagram for Node:
Collaboration graph
[legend]

Public Member Functions

coordinates zeros ()
 
 coordinates (1)
 
 coordinates (2)
 
double getX () const
 
double getY () const
 
double getZ () const
 
arma::vec3point ()
 
const arma::vec3point () const
 
arma::vec3 operator- (const Node &n2) const
 
double distance (const Node &n2) const
 

Public Attributes

int aux
 

Private Attributes

arma::vec3 coordinates
 Node point in 3D space. More...
 

Detailed Description

Class of node. First approach in turning to class.

Definition at line 44 of file nodes.hh.

Member Function Documentation

Node::coordinates ( )

Construct form given coordinates.

Possibly there could be also constructor from a vector.

Node::coordinates ( )
double Node::distance ( const Node n2) const
inline

Distance of two nodes.

Definition at line 98 of file nodes.hh.

Here is the caller graph for this function:

double Node::getX ( ) const
inline

Old getter methods. OBSOLETE.

Definition at line 69 of file nodes.hh.

Here is the caller graph for this function:

double Node::getY ( ) const
inline

Definition at line 71 of file nodes.hh.

Here is the caller graph for this function:

double Node::getZ ( ) const
inline

Definition at line 73 of file nodes.hh.

Here is the caller graph for this function:

arma::vec3 Node::operator- ( const Node n2) const
inline

Difference of two nodes is a vector.

Definition at line 89 of file nodes.hh.

arma::vec3& Node::point ( )
inline

Getter method for nodal point. Can be used also for modification.

Definition at line 80 of file nodes.hh.

Here is the caller graph for this function:

const arma::vec3& Node::point ( ) const
inline

Definition at line 83 of file nodes.hh.

coordinates Node::zeros ( )

Default constructor.

Member Data Documentation

int Node::aux

Definition at line 105 of file nodes.hh.

arma::vec3 Node::coordinates
private

Node point in 3D space.

Definition at line 47 of file nodes.hh.


The documentation for this class was generated from the following file: