#include <cell.h>
Public Member Functions | |
| Pyramid (std::vector< Vector3D > &vertices, Material &material) | |
| virtual double | getVolume () |
Public Member Functions inherited from Cell | |
| double | getMass () |
| std::vector< Vector3D > | getVertices () |
| Vector3D | getCentre () |
| Material | getMaterial () |
Additional Inherited Members | |
Protected Attributes inherited from Cell | |
| std::vector< Vector3D > | vertices |
| Material | material |
Pyramid cell, defined by 5 vertices.
|
virtual |
Get volume of the cell
Reimplemented from Cell.
1.8.6