AtilaCalculatorSoftware  2.3.4
C++ Interface for Atila fem resources files
Node Class Reference

Point in 3D space representation, part of a Mesh. More...

#include <mesh.h>

Public Member Functions

 Node (unsigned int id, const float *coord)
 
 Node (unsigned int id, float x, float y, float z)
 
unsigned int getId () const
 
const float * getCoords ()
 
float getX ()
 
float getY ()
 
float getZ ()
 

Private Attributes

const unsigned int id
 ID of the Node. More...
 
float coord [3]
 Space coordinates of the node. More...
 

Detailed Description

Point in 3D space representation, part of a Mesh.

See also
Mesh

Constructor & Destructor Documentation

◆ Node() [1/2]

Node::Node ( unsigned int  id,
const float *  coord 
)
Parameters
idID of the current Node
coordSpace coordinates of the node

◆ Node() [2/2]

Node::Node ( unsigned int  id,
float  x,
float  y,
float  z 
)
Parameters
idID of the current Node
xX component of the Space coordinates of the node
yY component of the Space coordinates of the node
zZ component of the Space coordinates of the node

Member Function Documentation

◆ getCoords()

const float * Node::getCoords ( )
Returns
The pointer of the space coordinates of the node

◆ getId()

unsigned int Node::getId ( ) const
Returns
The ID of the node

◆ getX()

float Node::getX ( )
Returns
The X space coordinates component of the node

◆ getY()

float Node::getY ( )
Returns
The Y space coordinates component of the node

◆ getZ()

float Node::getZ ( )
Returns
The Z space coordinates component of the node

Member Data Documentation

◆ coord

float Node::coord[3]
private

Space coordinates of the node.

◆ id

const unsigned int Node::id
private

ID of the Node.


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