CGAL 6.3 - 3D Mesh Volume Smoothing
Loading...
Searching...
No Matches
TangentSpace Concept Reference

Definition

The concept TangentSpace describes a local tangent space used for projection on patches or curves.

See also
ConstructTangentSpace

Types

using Geom_traits = unspecified_type
 Geometric traits defining Point_3 and Vector_3.
using Point_3 = Geom_traits::Point_3
 Point type.
using Vector_3 = Geom_traits::Vector_3
 Vector type.

Operations

Point_3 origin () const
 returns the origin of the tangent space
Vector_3 vector () const
 returns the vector defining the tangent space: a normal for a surface and a tangent direction for a curve.
CGAL::Mesh_smoothing_3::Projection_weight_mode projection_mode () const
 
Advanced

double custom_weight () const
 
Advanced

Member Function Documentation

◆ custom_weight()

double TangentSpace::custom_weight ( ) const

Advanced

returns the custom projection weight.

This value is used only when projection_mode() returns CGAL::Mesh_smoothing_3::Projection_weight_mode::CUSTOM.

◆ projection_mode()

CGAL::Mesh_smoothing_3::Projection_weight_mode TangentSpace::projection_mode ( ) const

Advanced

returns the projection weighting mode. This is an advanced function and always returning CGAL::Mesh_smoothing_3::DEFAULT is recommended. More details are given in the reseach article [1].

#include <Concepts/TangentSpace.h>

Definition

The concept TangentSpace describes a local tangent space used for projection on patches or curves.

See also
ConstructTangentSpace

Types

using Geom_traits = unspecified_type
 Geometric traits defining Point_3 and Vector_3.
using Point_3 = Geom_traits::Point_3
 Point type.
using Vector_3 = Geom_traits::Vector_3
 Vector type.

Operations

Point_3 origin () const
 returns the origin of the tangent space
Vector_3 vector () const
 returns the vector defining the tangent space: a normal for a surface and a tangent direction for a curve.
CGAL::Mesh_smoothing_3::Projection_weight_mode projection_mode () const
 
Advanced

double custom_weight () const
 
Advanced

Member Function Documentation

◆ custom_weight()

double TangentSpace::custom_weight ( ) const

Advanced

returns the custom projection weight.

This value is used only when projection_mode() returns CGAL::Mesh_smoothing_3::Projection_weight_mode::CUSTOM.

◆ projection_mode()

CGAL::Mesh_smoothing_3::Projection_weight_mode TangentSpace::projection_mode ( ) const

Advanced

returns the projection weighting mode. This is an advanced function and always returning CGAL::Mesh_smoothing_3::DEFAULT is recommended. More details are given in the reseach article [1].