Function autoware_utils::eliminate_hole
Defined in File ear_clipping.hpp
Function Documentation
-
std::size_t autoware_utils::eliminate_hole(const std::size_t hole_index, const std::size_t outer_index, std::vector<LinkedPoint> &points)
eliminates a single hole by connecting it to the outer polygon
finds a bridge and modifies the linked list to remove the hole
- Returns:
the updated outer_index after the hole is eliminated