cheshirekow
v0.1.0
|
proves a means of turning a PointRef into a Point& More...
#include <mpblocks/clarkson93/ExampleTraits2.h>
Public Member Functions | |
Point & | point (PointRef ptr) |
Simplex & | simplex (SimplexRef ptr) |
proves a means of turning a PointRef into a Point&
In the example traits PointRef is a Point* so we simply dereference this pointer. If PointRef were an index into an array of Point structures, then PointDeref should store a pointer to the beginning of that array. For example
Definition at line 102 of file ExampleTraits2.h.
|
inline |
Definition at line 104 of file ExampleTraits2.h.
|
inline |
Definition at line 105 of file ExampleTraits2.h.