13CAD
CAD-like software based on C++, Qt and VTK.
 All Classes Files Functions Variables Friends
Public Member Functions | List of all members
Pyramid Class Reference

#include <cell.h>

Inheritance diagram for Pyramid:
Cell

Public Member Functions

 Pyramid (std::vector< Vector3D > &vertices, Material &material)
 
virtual double getVolume ()
 
- Public Member Functions inherited from Cell
double getMass ()
 
std::vector< Vector3DgetVertices ()
 
Vector3D getCentre ()
 
Material getMaterial ()
 

Additional Inherited Members

- Protected Attributes inherited from Cell
std::vector< Vector3Dvertices
 
Material material
 

Detailed Description

Pyramid cell, defined by 5 vertices.

Member Function Documentation

double Pyramid::getVolume ( )
virtual

Get volume of the cell

Reimplemented from Cell.


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