CGAL 6.2 - Homological Discrete Vector Fields
Loading...
Searching...
No Matches
CGAL::Homological_discrete_vector_field::Hdvf_traits_d< K > Struct Template Reference

#include <CGAL/HDVF/Hdvf_traits_d.h>

Definition

template<typename K>
struct CGAL::Homological_discrete_vector_field::Hdvf_traits_d< K >

The class Hdvf_traits_d implements the HDVFTraits concept for dD data, using a geometric kernel K.

Template Parameters
Ka geometric traits class. Must be either Epick_d or Epeck_d with a fixed dimension.
Is model of
HDVFTraits

Public Types

using Dimension = Dimension_tag< K::Dimension::value >
 
typedef K Kernel
 
typedef K::Point_d Point
 
typedef K::Vector_d Vector
 
typedef K::FT FT
 
typedef CGAL::Bbox_d< DimensionBbox
 
typedef Exact_predicates_inexact_constructions_kernel::Point_3 Point3
 

Static Public Member Functions

static std::function< typename Exact_predicates_inexact_constructions_kernel::Point_3(const typename K::Point_d &)> plane_projection_builder (typename K::Point_d p0, typename K::Vector_d d1, typename K::Vector_d d2, typename K::Vector_d d3)
 
static std::function< typename Exact_predicates_inexact_constructions_kernel::Point_3(const typename K::Point_d &)> pca_frame_builder (const std::vector< typename K::Point_d > &pts)
 

Static Public Attributes

static std::function< Point3(const Point &)> to_point3 = Hdvf_traits_d<K>::default_projection
 
static std::function< Point3(const Point &)> default_projection
 

Member Data Documentation

◆ default_projection

template<typename K >
std::function< typename Exact_predicates_inexact_constructions_kernel::Point_3(const typename K::Point_d &)> CGAL::Homological_discrete_vector_field::Hdvf_traits_d< K >::default_projection
static
Initial value:
=
[](const K::Point_d& p) { return typename Exact_predicates_inexact_constructions_kernel::Point_3(p[0], p[1], p[2]); }