CGAL 6.0 - 3D Isosurfacing
Loading...
Searching...
No Matches
IsosurfacingInterpolationScheme_3 Concept Reference

Definition

Refines
DefaultConstructible
Assignable

The concept IsosurfacingInterpolationScheme_3 describes the set of requirements to be fulfilled by the interpolation scheme template parameter of the domain classes CGAL::Isosurfacing::Interpolated_discrete_values_3 and CGAL::Isosurfacing::Interpolated_discrete_gradients_3.

Has models
CGAL::Isosurfacing::Trilinear_interpolation

Public Types

typedef unspecified_type Geom_traits
 The geometric traits type.
 
typedef unspecified_type FT
 The scalar type.
 
typedef unspecified_type Point_3
 The 3D point type.
 
typedef unspecified_type Vector_3
 The 3D vector type.
 

Public Member Functions

template<typename Grid , typename ValueRange >
FT interpolated_value (Point_3 p, Grid g, ValueRange vr) const
 interpolates the value of the value field at the point p using values defined by vr over the grid g.
 
template<typename Grid , typename GradientRange >
Vector_3 interpolated_gradient (Point_3 p, Grid g, GradientRange gr) const
 interpolates the gradient of the gradient field at the point p using gradients defined by gr over the grid g.
 

Member Typedef Documentation

◆ Geom_traits

The geometric traits type.

Must be a model of IsosurfacingTraits_3.

Member Function Documentation

◆ interpolated_gradient()

template<typename Grid , typename GradientRange >
Vector_3 IsosurfacingInterpolationScheme_3::interpolated_gradient ( Point_3  p,
Grid  g,
GradientRange  gr 
) const

interpolates the gradient of the gradient field at the point p using gradients defined by gr over the grid g.

Template Parameters
Gridmust be CGAL::Isosurfacing::Cartesian_grid_3
GradientRangemust be a model of RandomAccessRange with Vector_3 as value type

◆ interpolated_value()

template<typename Grid , typename ValueRange >
FT IsosurfacingInterpolationScheme_3::interpolated_value ( Point_3  p,
Grid  g,
ValueRange  vr 
) const

interpolates the value of the value field at the point p using values defined by vr over the grid g.

Template Parameters
Gridmust be CGAL::Isosurfacing::Cartesian_grid_3
ValueRangemust be a model of RandomAccessRange with FT as value type