|
CGAL 4.7 - 2D and Surface Function Interpolation
|
Most interpolation functions are parameterized by a traits class that defines the primitives used in the interpolation algorithms. The concept InterpolationTraits defines this common set of requirements.
Types | |
| typedef unspecified_type | FT |
The number type must follow the model FieldNumberType. More... | |
| typedef unspecified_type | Point_d |
| The point type on which the function is defined and interpolated. More... | |
| typedef unspecified_type | Vector_d |
| The corresponding vector type. More... | |
| typedef unspecified_type | Construct_vector_d |
A constructor object for Vector_d. More... | |
| typedef unspecified_type | Construct_scaled_vector_d |
Constructor object for Vector_d. More... | |
| typedef unspecified_type | Compute_squared_distance_d |
Constructor object for FT. More... | |
| InterpolationTraits () | |
| default constructor. More... | |
Construction objects | |
The following functions that create instances of the above constructor object types must exist. | |
| Construct_vector_d | construct_vector_d_object () |
| Construct_scaled_vector_d | construct_scaled_vector_d_object () |
| Compute_squared_distance_d | compute_squared_distance_d_object () |
Constructor object for FT.
Provides the operator:
FT operator() (Point_d a, Point_d b) returning the squared distance between a and b.
Constructor object for Vector_d.
Provides :
Vector_d operator() (Vector_d v,FT scale) which produces the vector v scaled by a factor scale.
A constructor object for Vector_d.
Provides :
Vector_d operator() (Point_d a, Point_d b) which produces the vector b - a and
Vector_d operator() (Null_vector NULL_VECTOR) which introduces the null vector.
The number type must follow the model FieldNumberType.
The point type on which the function is defined and interpolated.
The corresponding vector type.
| InterpolationTraits::InterpolationTraits | ( | ) |
default constructor.
| Compute_squared_distance_d InterpolationTraits::compute_squared_distance_d_object | ( | ) |
| Construct_scaled_vector_d InterpolationTraits::construct_scaled_vector_d_object | ( | ) |
| Construct_vector_d InterpolationTraits::construct_vector_d_object | ( | ) |