Skip to content

Commit

Permalink
Update seerep_srv/seerep_core/src/core_dataset.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Meijer <[email protected]>
  • Loading branch information
Mark-Niemeyer and mmeijerdfki committed Nov 11, 2024
1 parent 59c6981 commit 7ea4021
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions seerep_srv/seerep_core/src/core_dataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -987,9 +987,7 @@ void CoreDataset::intersectionDegreeAABBinPolygon(
intersectionDegreeCgalPolygons(aabb_cgal, polygon_cgal, z_partially, true,
fullEncapsulation, partialEncapsulation);

// traverse polygon and check if it is fully in AABB
// if this is the check for AABB in polygon fail as all corners off AABB are
// outside of polygon
// traverse polygon and check if at least one vertex is in the AABB
// we want to handle this as partially encapsulated because inner parts of the
// AABB are inside the polygon
intersectionDegreeCgalPolygons(polygon_cgal, aabb_cgal, z_partially, false,
Expand Down

0 comments on commit 7ea4021

Please sign in to comment.