-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New package: Frechet Distance #8284
base: master
Are you sure you want to change the base?
Conversation
We don't want an explicit package for that for the Polyline_distance package.
|
||
// Added to be similar to CGAL::Filtered_kernel | ||
typedef EK Exact_kernel; | ||
enum { Has_filtered_predicates = true }; | ||
typedef Boolean_tag<Has_filtered_predicates> Has_filtered_predicates_tag; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mglisse please review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I said elsewhere, if that's really all that's needed (there is an example so I assume it compiles and runs, although I am rather surprised), ok.
(I would have mentioned in the comment the name of the package that needs it, but I guess this comment is good enough)
|
||
static_assert(Ker2::Has_filtered_predicates_tag::value); | ||
static_assert(Ker3::Has_filtered_predicates_tag::value); | ||
static_assert(Kerd::Has_filtered_predicates_tag::value); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mglisse please review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, we can always modify this if we start testing non-filtered kernels.
/build:v0 |
There was an error while building the doc:
|
template<class Dim> struct Epeck_d; | ||
|
||
template < typename P, int D> | ||
struct Ambient_dimension<P, Epick_d<Dimension_tag<D>>> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should that go into Epick_d.h
@sloriot ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mglisse ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we could add a template Ambient_dimension inside the class Kernel_d_interface that says everything has Base::Dimension as ambient dim, since that's what CGAL::Ambient_dimension looks for by default.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/8284/v0/Manual/index.html |
Test failing in CGAL-6.1-Ic-57 |
Summary of Changes
Add a new package computing the approximate Fréchet distance between two polylines in dD under Euclidean metric, or decides if the distance is smaller than a given value.
Release Management
TODO: