Function autoware_utils::linked_list

Function Documentation

std::size_t autoware_utils::linked_list(const alt::PointList2d &ring, const bool clockwise, std::size_t &vertices, std::vector<LinkedPoint> &points)

creates a linked list from a ring of points

converts a polygon ring into a doubly linked list with optional clockwise ordering

Returns:

the last index of the created linked list