Skip to content
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

Open
wants to merge 423 commits into
base: master
Choose a base branch
from
Open

New package: Frechet Distance #8284

wants to merge 423 commits into from

Conversation

lrineau
Copy link
Member

@lrineau lrineau commented Jun 12, 2024

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

  • Affected package(s): Frechet_distance
  • Feature/Small Feature (if any): link
  • Link to compiled documentation: link
  • License and copyright ownership: MPI, GeometryFactory, cnrs(?)

TODO:

  • check branch size (@sloriot)
  • Make it work with Epick_d<Dimension_tag<2>> @sloriot

@afabri afabri added this to the 6.1-beta milestone Jun 12, 2024
@afabri afabri linked an issue Jun 12, 2024 that may be closed by this pull request
Comment on lines 66 to 71

// 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;

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mglisse please review

Copy link
Member

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)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you surprised that it compiles?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There have been a number of changes since then (I think other pieces were missing at the time), so the comment may not be relevant anymore.

@afabri

This comment was marked as outdated.

This comment was marked as outdated.

@afabri

This comment was marked as outdated.

This comment was marked as outdated.

@afabri

This comment was marked as outdated.

This comment was marked as outdated.

@afabri

This comment was marked as outdated.

This comment was marked as outdated.

@afabri

This comment was marked as outdated.

@MaelRL MaelRL added Not yet approved The feature or pull-request has not yet been approved. Feature CHANGES.md not updated labels Jun 18, 2024

This comment was marked as outdated.

@afabri

This comment was marked as outdated.

This comment was marked as outdated.

@afabri

This comment was marked as outdated.

This comment was marked as outdated.

@afabri

This comment was marked as outdated.

This comment was marked as duplicate.

@afabri

This comment was marked as outdated.

This comment was marked as outdated.

@afabri
Copy link
Member

afabri commented Feb 28, 2025

@sloriot can you help me with this error with VC2017

@afabri

This comment was marked as outdated.

This comment was marked as outdated.

{
if constexpr (Approximate_traits::Dimension::value<=3)
{
// TODO: this assumes that input interval are all tight --> need a PM!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sloriot can we discuss that please

}
else
{
//TODO: not implemented
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anusser do we have to do something or is the next line what is done ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I honestly don't know exactly what's going on there. We can have a call if you want to discuss this directly.

int main()
{
Curves curves;
#if 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"if 0" in examples

@afabri
Copy link
Member

afabri commented Mar 14, 2025

/build:v2

Copy link

The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/8284/v2/Manual/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Not yet approved The feature or pull-request has not yet been approved. Ready to be tested TODO (web) Under Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Epick_d and Has_filtered_predicates_tag
7 participants