The surface of the unit cube in 3D made out of triangles. More...
#include <cube.hh>


Classes | |
| class | S |
Public Member Functions | |
| Cube () | |
| Cube (const Real sizex=1.0, const Real sizey=1.0, const Real sizez=1.0) | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
| uint | ncell () const |
| Returns the number of cells in the mesh. | |
| uint | ncell () const |
| Returns the number of cells in the mesh. | |
| concepts::Scan2 * | scan () |
| Returns a scanner over the cells of the mesh. | |
| concepts::Scan3 * | scan () |
| Returns a scanner over the cells of the mesh. | |
| virtual | ~Cube () |
| virtual | ~Cube () |
Private Attributes | |
| concepts::Triangle3d * | cell_ [ncell_] |
| concepts::Hexahedron3d * | cell_ [ncell_] |
| concepts::Edge * | edg_ [18] |
| concepts::Hexahedron * | hex_ [ncell_] |
| concepts::Quad * | quad_ [6] |
| concepts::Triangle * | tri_ [ncell_] |
| concepts::Vertex * | vtx_ [8] |
Static Private Attributes | |
| static const uint | ncell_ = 12 |
The surface of the unit cube in 3D made out of triangles.
in one hexahedron.
| Cube::Cube | ( | ) |
| virtual Cube::~Cube | ( | ) | [virtual] |
| Cube::Cube | ( | const Real | sizex = 1.0, |
| const Real | sizey = 1.0, |
||
| const Real | sizez = 1.0 |
||
| ) |
| virtual Cube::~Cube | ( | ) | [virtual] |
| virtual std::ostream& Cube::info | ( | std::ostream & | os | ) | const [virtual] |
Returns information in an output stream.
Reimplemented from concepts::Mesh.
| uint Cube::ncell | ( | ) | const [inline, virtual] |
Returns the number of cells in the mesh.
Implements concepts::Mesh.
| uint Cube::ncell | ( | ) | const [inline, virtual] |
Returns the number of cells in the mesh.
Implements concepts::Mesh.
| concepts::Scan3* Cube::scan | ( | ) | [inline, virtual] |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh2.
| concepts::Scan2* Cube::scan | ( | ) | [inline, virtual] |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh2.
concepts::Triangle3d* Cube::cell_[ncell_] [private] |
concepts::Hexahedron3d* Cube::cell_[ncell_] [private] |
concepts::Edge * Cube::edg_ [private] |
concepts::Hexahedron* Cube::hex_[ncell_] [private] |
static const uint Cube::ncell_ = 12 [static, private] |
concepts::Quad* Cube::quad_[6] [private] |
concepts::Triangle* Cube::tri_[ncell_] [private] |
concepts::Vertex * Cube::vtx_ [private] |