#include <freecloth/geom/gePoint.h>
Collaboration diagram for GePoint:

Public Member Functions | |
| GePoint (Float x, Float y, Float z) | |
| GePoint (const GePoint &a, const GePoint &b, Float fracA) | |
| Construct from linear combination. Result = fracA * a + (1-fracA) * b. | |
| GePoint (const GePoint &a, const GePoint &b, const GePoint &c, Float fracA, Float fracB) | |
| GePoint & | operator+= (const GeVector &) |
| GePoint & | operator-= (const GeVector &) |
| GePoint | operator+ (const GeVector &) const |
| GePoint | operator- (const GeVector &) const |
| GeVector | operator- (const GePoint &) const |
| bool | operator== (const GePoint &) const |
| bool | operator!= (const GePoint &) const |
| Float | operator[] (UInt32) const |
| Float & | operator[] (UInt32) |
Public Attributes | |
| Float | _x |
| Float | _y |
| Float | _z |
Static Public Attributes | |
| const CompX | _compX |
| const CompY | _compY |
| const CompZ | _compZ |
| const GePoint | NIL |
| const GePoint | ZERO |
In keeping with the principles of affine spaces, we distinguish between vectors and points, which represent direction and position, respectively.
Definition at line 41 of file gePoint.h.
|
||||||||||||||||||||||||
|
Construct from linear combination. fracA and fracB constitute two of three barycentric co-ordinates; (fracA,fracB,1-fracA-fracB) are the full three. Definition at line 48 of file gePoint.cpp. |
1.3-rc3