- an instance of a geometric traits class
-
Type: a model of
FrechetDistanceTraits
-
Default:
Frechet_distance_traits_2
,Frechet_distance_traits_3
, orFrechet_distance_traits_d
, depending on the dimension of the point type.
CGAL 6.1 - dD Frechet Distance
|
Functions | |
template<class PointRange , class NamedParameters = parameters::Default_named_parameters> | |
bool | CGAL::is_Frechet_distance_larger (const PointRange &polyline1, const PointRange &polyline2, const double distance_bound, const NamedParameters &np=parameters::default_values()) |
determines if the Frechet distance between two polylines is larger than a given distance bound. | |
template<class PointRange , class NamedParameters = parameters::Default_named_parameters> | |
std::pair< double, double > | CGAL::bounded_error_Frechet_distance (const PointRange &polyline1, const PointRange &polyline2, const double error_bound, const NamedParameters &np=parameters::default_values()) |
returns an estimate of the Fréchet distance between the two polylines that is at most error_bound . | |
std::pair< double, double > CGAL::bounded_error_Frechet_distance | ( | const PointRange & | polyline1, |
const PointRange & | polyline2, | ||
const double | error_bound, | ||
const NamedParameters & | np = parameters::default_values() |
||
) |
#include <CGAL/Frechet_distance.h>
returns an estimate of the Fréchet distance between the two polylines that is at most error_bound
.
away from the actual Fréchet distance between the two polylines.
Traits | a model of FrechetDistanceTraits |
PointRange | a model of the concept RandomAccessContainer with Traits::Point_d as value type. |
NamedParameters | a sequence of Named Parameters |
polyline1 | the first polyline defined by a sequence of consecutive points |
polyline2 | the second polyline defined by a sequence of consecutive points |
error_bound | a maximum bound by which the Fréchet distance estimate is allowed to deviate from the actual Fréchet distance. |
np | an optional sequence of Named Parameters among the ones listed below: |
|
error_bound
. bool CGAL::is_Frechet_distance_larger | ( | const PointRange & | polyline1, |
const PointRange & | polyline2, | ||
const double | distance_bound, | ||
const NamedParameters & | np = parameters::default_values() |
||
) |
#include <CGAL/Frechet_distance.h>
determines if the Frechet distance between two polylines is larger than a given distance bound.
Traits | a model of FrechetDistanceTraits |
PointRange | a model of the concept RandomAccessContainer with Traits::Point_d as value type. |
NamedParameters | a sequence of Named Parameters |
polyline1 | the first polyline defined by a sequence of consecutive points |
polyline2 | the second polyline defined by a sequence of consecutive points |
distance_bound | the distance to compare against |
np | an optional sequence of Named Parameters among the ones listed below: |
|