Open
Description
Checklist
- I've read the contribution guidelines.
- I've searched other issues and no duplicate issues were found.
- I've agreed with the maintainers that I can plan this task.
Description
Currently, Autoware relies on Boost.Geometry for most geometric calculations. However, Boost's generic implementation is considered to extend the build time.
The goal of this task is to reduce the build time by minimizing (or eliminating) dependency on Boost.Geometry.
Purpose
This task aims to shorten the build time by reducing dependency on Boost.Geometry. This involves adding utility functions that compile independently of Boost and omitting unnecessary features for Autoware to improve function execution efficiency.
Possible approaches
The following functions are planned to be replaced:
-
area()
@mitukou1109 -
convex_hull()
@mitukou1109 -
covered_by()
@mitukou1109 -
disjoint()
@mitukou1109 -
distance()
@mitukou1109 -
intersects()
@mitukou1109 -
within()
@mitukou1109 -
difference()
@mraditya01 -
union_()
@mraditya01 -
envelope()
@mitukou1109 -
simplify()
@mitukou1109 -
buffer()
@mitukou1109
Definition of done
- All replaceable Boost.Geometry functions are migrated to self-implementations.
- Build and processing time are reduced compared to Boost.Geometry.
Activity