|
The Vish Visualization Shell 0.3
Vish
|
A point in physical 3D space. More...
#include <elementary/eagle/PhysicalSpace.hpp>
Public Member Functions | |
| point (const point &p, const vector &v) | |
| Add point and vector. | |
Friends | |
| point | operator- (const point &P, const vector &v) |
Related Symbols | |
(Note that these are not member symbols.) | |
| void | glTranslate (const Eagle::PhysicalSpace::point &origin) |
| Perform an OpenGL glTranslate() call on a point given in physical space. | |
| void | glVertex (const Eagle::PhysicalSpace::point &P) |
| Perform an OpenGL glVertex() call on a point given in physical space. | |
A point in physical 3D space.
This class structure should really be revised. It is basically the same at the base class, semantically, but only adds some convenience functions such as members with coordinate names like .x() . These convenience member functions plus some functions that make only sense in 3D, such as the cross-product, are the only reason for the existence of this class and some related ones. It's not a good class design at all, because they should be rather the same as the template base classes. This definitely requires basic revisions.