#include <CGAL/Isosurfacing_3/Value_function_3.h>
|
|
using | Geom_traits = typename Partition::Geom_traits |
|
using | FT = typename Geom_traits::FT |
|
using | Point_3 = typename Geom_traits::Point_3 |
|
using | PT = partition_traits<Partition> |
|
using | vertex_descriptor = typename PT::vertex_descriptor |
|
| template<typename Function> |
| | Value_function_3 (const Function &fn, const Partition &partition) |
| | constructs a field of values using a value function and a partition.
|
|
FT | operator() (const Point_3 &p) const |
| | returns the value of the function at the point p.
|
|
FT | operator() (const vertex_descriptor &v) const |
| | returns the value of the function at the vertex v.
|
◆ Value_function_3()
template<typename Partition>
template<typename Function>
constructs a field of values using a value function and a partition.
- Template Parameters
-
| Function | must provide the following function signature: FT operator()(const Point_3&) const |
- Parameters
-
| fn | the function providing values |
| partition | the space partitioning data structure |