BruteForceStrategy Class Referencefinal

Detailed Description

Implements StrategyBase using a brute force algorithm for resolving the maliput::api::RoadGeometry::ToRoadPosition() and maliput::api::RoadGeometry::FindRoadPositions() methods.

It iterates along the entire RoadGeometry calling maliput::api::Lane::ToLanePosition() to find the optimum result.

#include <include/maliput/geometry_base/brute_force_strategy.h>

Inheritance diagram for BruteForceStrategy:

Public Member Functions

 BruteForceStrategy (const api::RoadGeometry *rg)
 ~BruteForceStrategy () override=default
- Public Member Functions inherited from StrategyBase
virtual ~StrategyBase ()=default
api::RoadPositionResult ToRoadPosition (const api::InertialPosition &inertial_position, const std::optional< api::RoadPosition > &hint) const
std::vector< api::RoadPositionResultFindRoadPositions (const api::InertialPosition &inertial_position, double radius) const

Additional Inherited Members

- Protected Member Functions inherited from StrategyBase
 StrategyBase (const api::RoadGeometry *rg)
const api::RoadGeometryget_road_geometry () const

Constructor & Destructor Documentation

◆ BruteForceStrategy()

BruteForceStrategy ( const api::RoadGeometry rg)

◆ ~BruteForceStrategy()

~BruteForceStrategy ( )

The documentation for this class was generated from the following files: