bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
bitrl::utils::geom::MeshEntity Class Reference

Helper class that wraps non template dependent parameters and common to every mesh entity. More...

#include <mesh_entity.h>

Inheritance diagram for bitrl::utils::geom::MeshEntity:

Public Member Functions

 MeshEntity ()
 Constructor.
 
 MeshEntity (uint_t id, uint_t pid, const std::any &data)
 Constructor.
 
uint_t get_id () const
 Returns the id of the element.
 
void set_id (uint_t id)
 Set the id of the element.
 
uint_t get_pid () const
 Returns the id of the element.
 
void set_pid (uint_t id)
 Set the id of the element.
 
bool has_valid_id () const
 
bool is_active () const
 
void set_active_flag (bool f)
 

Detailed Description

Helper class that wraps non template dependent parameters and common to every mesh entity.

Constructor & Destructor Documentation

◆ MeshEntity() [1/2]

bitrl::utils::geom::MeshEntity::MeshEntity ( )
inline

Constructor.

◆ MeshEntity() [2/2]

bitrl::utils::geom::MeshEntity::MeshEntity ( uint_t  id,
uint_t  pid,
const std::any &  data 
)
inline

Constructor.

Member Function Documentation

◆ get_id()

uint_t bitrl::utils::geom::MeshEntity::get_id ( ) const
inline

Returns the id of the element.

◆ get_pid()

uint_t bitrl::utils::geom::MeshEntity::get_pid ( ) const
inline

Returns the id of the element.

◆ has_valid_id()

bool bitrl::utils::geom::MeshEntity::has_valid_id ( ) const
inline

◆ is_active()

bool bitrl::utils::geom::MeshEntity::is_active ( ) const
inline

◆ set_active_flag()

void bitrl::utils::geom::MeshEntity::set_active_flag ( bool  f)
inline

◆ set_id()

void bitrl::utils::geom::MeshEntity::set_id ( uint_t  id)
inline

Set the id of the element.

◆ set_pid()

void bitrl::utils::geom::MeshEntity::set_pid ( uint_t  id)
inline

Set the id of the element.


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