 CGAL 5.4.1 - The Heat Method
HeatMethodTraits_3 Concept Reference

## Definition

The concept HeatMethodTraits_3 describes the types, predicates, and constructions required by the traits class parameter of CGAL::Heat_method_3::Surface_mesh_geodesic_distances_3.

Has Models:
All the CGAL kernels

## Types

typedef unspecified_type FT

typedef unspecified_type Point_3
The 3D point type. More...

typedef unspecified_type Vector_3
The 3D vector type. More...

typedef unspecified_type Construct_vector_3
Functor with operator: Vector_3 operator()(const Point_3& from, const Point_3& to) const, which constructs the vector from to - from .

typedef unspecified_type Construct_sum_of_vectors_3
Functor with operator: Vector_3 operator()(const Vector_3& v, const Vector_3& w) const, which constructs the vector v + w.

typedef unspecified_type Construct_scaled_vector_3
Functor with operator: Vector_3 operator()(const Vector_3& v, double d) const, which constructs the vector d * v.

typedef unspecified_type Construct_cross_product_vector_3
Functor with operator: Vector_3 operator()(const Vector_3& v, const Vector_3& w) const, which constructs the cross product of v and w.

typedef unspecified_type Compute_scalar_product_3
Functor with operator: FT operator()(const Vector_3& v, const Vector_3& w) const, which constructs the scalar product ofvandw.

typedef unspecified_type Compute_squared_distance_3
Functor with operator: FT operator()(const Point_3& p, const Point_3& q) const which computes the squared distance between p and q.

typedef unspecified_type Compute_squared_length_3
Functor with operator: FT operator()(const Vector_3& v) const which computes the squared length of v.

## Operations

For each of the above function object types, Func_obj_type, a function must exist with the name func_obj_type_object that creates an instance of the function or predicate object type.

For example:

Construct_vector_3 construct_vector_3_object ()

## ◆ Point_3

The 3D point type.

It must be CopyConstructible and DefaultConstructible, and have a constructor with three parameters of a type constructibe from double.

## ◆ Vector_3

The 3D vector type.

It must be CopyConstructible and DefaultConstructible, and have a constructor with three parameters of a type constructibe from double`.