Skip to content

Conversation

@msmathcomp
Copy link
Owner

Please use the following template to help us managing pull requests.

Summary of Changes

Pull request for review of GSoC code for the first evaluation period. A first implementation of the bounded Hausdorff algorithm was done, it has quite some opportunities to enhance its speed, but it works.

Release Management

  • Affected package(s): Polygon_mesh_processing
  • Feature/Small Feature (if any): Bounded Hausdorff Error Computation
  • License and copyright ownership: Sebastien Loriot, Martin Skrodzki

msmathcomp added 19 commits May 21, 2019 11:56
…d solution is: Hausdorff distance will be attained at Point (0,0,1) and should be sqrt(3).
Point_3 v1 = query.vertex(1);
Point_3 v2 = query.vertex(2);
// Compute the barycenter of the triangle
Point_3 tri_center = Point_3( 0.3*(v0.x()+v1.x()+v2.x()), 0.3*(v0.y()+v1.y()+v2.y()), 0.3*(v0.z()+v1.z()+v2.z()) );
Copy link
Collaborator

Choose a reason for hiding this comment

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

0.3?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Will use CGAL::barycenter for this.


// Determine whether child nodes will still contribute to a larger
// Hausdorff distance and thus have to be entered
bool do_intersect(const Query& query, const Node& node) const
Copy link
Collaborator

Choose a reason for hiding this comment

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

query is not used, this is surprising

// Compute the distance of the center to the closest point in tm2
double dist = approximate_sqrt(squared_distance(center, closest));
// Compute the radius of the circumsphere of the bounding boxes
double radius = approximate_sqrt(squared_distance(
Copy link
Collaborator

Choose a reason for hiding this comment

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

did you investigate using the distance to bbox?

@sloriot sloriot closed this Sep 26, 2019
@sloriot sloriot deleted the gsoc2019-PMPHDist-martinskrodzki branch September 26, 2019 13:24
@sloriot sloriot reopened this Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants