The Vish Visualization Shell 0.3
Vish
Public Member Functions | Friends | Related Symbols | List of all members
Eagle::PhysicalSpace::point Class Reference

A point in physical 3D space. More...

#include <elementary/eagle/PhysicalSpace.hpp>

Inheritance diagram for Eagle::PhysicalSpace::point:

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.
 

Detailed Description

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.

Examples
AnemoneBoundingVolume.cpp, InteractivePoint.cpp, QuadDemo.cpp, and SeagrassBoundingVolume.cpp.

Friends And Related Symbol Documentation

◆ operator-

point operator- ( const point P,
const vector v 
)
friend
Todo:
Use computational constructor for '-'