MPyramid object - inherits from MCell.
More...
#include <MPyramid.h>
|
static double | getCount () |
| get MCellInstanceCount (accessor) More...
|
|
enum | MCellType_TypeDef { NONE,
TETRAHEDRON,
HEXAHEDRON,
PYRAMID
} |
|
| MCell (std::vector< std::shared_ptr< MVector >> vertices, std::shared_ptr< MMaterial > material, long int id) |
| MCell constructor. More...
|
|
| MCell ()=delete |
| default constructor - deleted More...
|
|
| ~MCell () |
| destructor - decrements InstanceCount
|
|
double | MCellVolume {} |
| MCellVolume - stores the volume of the cell, can not be set by accessors. More...
|
|
double | MCellWeight {} |
| MCellWeight - stores the weight of the cell, can not be set by accessors.
|
|
const long int | MCellID |
| MCellDensity - stores the density of the cell, , can not be set by accessors.
|
|
std::vector< std::shared_ptr< MVector > > | MCellVertices |
| holds a vector of MVectors defining the vertex of the cell More...
|
|
std::vector< unsigned int > | vertexIDs |
| holds a list of all the vertices IDs, populated on construction More...
|
|
std::shared_ptr< MMaterial > | MCellMaterial |
| holds a the material of the cell
|
|
std::shared_ptr< MVector > | MCellCOG |
| holds the Centre Of Gravity of the cell as a shared pointer MVector More...
|
|
MCellType_TypeDef | MCellType |
| MCellType - holds the type of the current cell.
|
|
MPyramid object - inherits from MCell.
MPyramid::MPyramid |
( |
const std::vector< std::shared_ptr< MVector >> & |
vertices, |
|
|
const std::shared_ptr< MMaterial > & |
material, |
|
|
long int |
id |
|
) |
| |
MPyramid constructor.
- Parameters
-
vertices | - the vertex defining the cell |
material | - material of the cell |
id | - unique cell identifier |
The documentation for this class was generated from the following files:
- /home/travis/build/KurusView/2020_GROUP_21/include/Cells/MPyramid.h
- /home/travis/build/KurusView/2020_GROUP_21/lib/Cells/MPyramid.cpp