GEL
2
GEL is a library for Geometry and Linear Algebra
|
Implicit function. More...
#include <Polygonizer.h>
Public Member Functions | |
virtual float | eval (float, float, float)=0 |
Implicit function.
The implicit function class represents the implicit function we wish to polygonize. Derive a class from this one and implement your implicit primitive in the eval function. Eval takes x,y,z coordinates and returns a value. We assume that the surface is the zero level set and that the negative values are outside. This an arbitrary choice which does not make the code less general.