CGAL 6.0 - dD Frechet Distance
Loading...
Searching...
No Matches
CGAL::Frechet_distance_traits_2< GT > Class Template Reference

#include <CGAL/Frechet_distance_traits_2.h>

Definition

template<class GT>
class CGAL::Frechet_distance_traits_2< GT >
Is model of
FrechetDistanceTraits
Template Parameters
GTgeometric traits class
Examples
Frechet_distance/Frechet_distance_2.cpp.

Public Types

using Kernel = GT
 
using FT = typename Kernel::FT
 
using Point = typename Kernel::Point_2
 
using Bbox = Bbox_2
 
using distance_t = CGAL::Interval_nt< false >
 
using Approximate_kernel = CGAL::Simple_cartesian< distance_t >
 
using Approximate_point = typename Approximate_kernel::Point_2
 
using Construct_bbox = typename Approximate_kernel::Construct_bbox_2
 
using Squared_distance = typename Approximate_kernel::Compute_squared_distance_2
 
using Difference_of_points = typename Approximate_kernel::Construct_vector_2
 
using Scaled_vector = typename Approximate_kernel::Construct_scaled_vector_2
 
using Translated_point = typename Approximate_kernel::Construct_translated_point_2
 
using Exact_kernel = typename CGAL::Frechet_distance_::internal::Get_exact_kernel< Kernel >::type
 
using Exact_point = typename Exact_kernel::Point_2
 
using D2D = NT_converter< distance_t, double >
 
using F2E = Cartesian_converter< Approximate_kernel, Exact_kernel, D2D >
 
using FT2I = NT_converter< typename Kernel::FT, distance_t >
 
using K2F = Cartesian_converter< Kernel, Approximate_kernel, FT2I >
 
using Polyline = std::vector< Point >
 
using Polylines = std::vector< Polyline >
 
using PolylineID = std::size_t
 
using PolylineIDs = std::vector< PolylineID >
 

Static Public Attributes

static const int dimension = 2
 
static constexpr bool is_filtered = CGAL::Frechet_distance_::internal::Get_exact_kernel<Kernel>::is_filtered
 
static constexpr bool is_floating_point = CGAL::Frechet_distance_::internal::Get_exact_kernel<Kernel>::is_floating_point
 

Member Typedef Documentation

◆ Polyline

template<class GT >
using CGAL::Frechet_distance_traits_2< GT >::Polyline = std::vector<Point>
Todo:
remove?