#include <Hexahedron.h>
Inheritance diagram for Hexahedron:

Public Methods | |
| Hexahedron () | |
| Point | vertex (int n) const |
| return the vertex number n (see fig for indexing). More... | |
Protected Methods | |
| void | addPlane (const Vector& v) |
| simplify construction. More... | |
| const Plane& | plane (int i) const |
| avoid having to downcast in sub classes. More... | |
Vertex numbering:
^ y
|
1/5-------------0/4
| | |
| | |
--------|-------+-------|------> x
| | |
| | |
3/7------+------2/6
|
numbers are indeces for +z/-z vertices
Definition at line 27 of file Hexahedron.h.
|
|
Definition at line 9 of file Hexahedron.cxx. |
|
|
simplify construction.
Definition at line 40 of file Hexahedron.h. Referenced by Trap::Trap(), Trd1::Trd1(), Trd2::Trd2(), and Box::constructSurfaces(). |
|
|
avoid having to downcast in sub classes.
Definition at line 43 of file Hexahedron.h. Referenced by Box::width(). |
|
|
return the vertex number n (see fig for indexing).
Definition at line 14 of file Hexahedron.cxx. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000