CGAL 5.6 - 3D Isosurfacing
|
#include <CGAL/Default_gradients.h>
Template class for a gradient that is calculated using finite differences.
This gradient function evaluates an implicit value function at six points that are a given distance delta away from the queried point.
GeomTraits | the traits for this gradient. |
PointFunction | the type of the value function |
Public Types | |
typedef GeomTraits | Geom_traits |
typedef Geom_traits::FT | FT |
typedef Geom_traits::Point_3 | Point |
typedef Geom_traits::Vector_3 | Vector |
Public Member Functions | |
Finite_difference_gradient (const PointFunction &func, const FT delta=0.001) | |
Vector | operator() (const Point &point) const |