Expand description
Source-rooted prepared shortest-path maps for repeated polygonal queries. Source-rooted shortest-path maps for repeated polygonal goal queries.
§Lifecycle
This is the prepared surface for continuous free space with a fixed
source (not the online pair-search crate::continuous::PolygonPathfinder
trait):
- [
PolygonShortestPathMapBuilder::preprocess] validates the source viaPolygonScene::validate_sourceand builds a prepared map (visibility-graph distances from that source). - [
PolygonShortestPathMap::query] answers many goals without rebuilding the source-rooted structure, stitching the best terminal vertex to the goal with a final walkable segment.
Cost and exactness match the online visibility-graph solver under the same free-space predicates. Arbitrary changing start–goal pairs still use online pathfinders; this API is many goals / one source only.
Structs§
- Continuous
Shortest Path Map - Visibility-graph builder for source-rooted continuous shortest-path maps.
- Prepared
Continuous Shortest Path Map - Precomputed visibility-graph distances from one fixed source.
Enums§
- Polygon
Shortest Path MapBuild Error - Preprocess failed before a prepared map could be produced.
Traits§
- Polygon
Shortest Path Map - Prepared map that answers shortest-path queries from a fixed source.
- Polygon
Shortest Path MapBuilder - Preprocesses a polygon scene into a source-rooted shortest-path map.