ad_rss
Public Member Functions | List of all members
ad::rss::structured::RssObjectPositionExtractor Class Reference

class to calculate object positions More...

#include <ad/rss/structured/RssObjectPositionExtractor.hpp>

Public Member Functions

 RssObjectPositionExtractor (world::OccupiedRegionVector const &occupied_regions)
 Constructor. More...
 
bool newRoadSegment (physics::MetricRange const &longitudinalStart, world::RoadSegment const &roadSegment)
 Indicate that there is a new road segment. More...
 
bool newLaneSegment (physics::MetricRange lateral_distance, world::LaneSegment const &laneSegment)
 Add information of the next adjacent laneSegement. More...
 
bool getObjectDimensions (ObjectDimensions &objectDimensions)
 Retrieve the objectDimension information back from the class. More...
 

Detailed Description

class to calculate object positions

class will receive road and lane segments in consecutive order and will :

Constructor & Destructor Documentation

◆ RssObjectPositionExtractor()

ad::rss::structured::RssObjectPositionExtractor::RssObjectPositionExtractor ( world::OccupiedRegionVector const &  occupied_regions)
explicit

Constructor.

Parameters
occupied_regionsrepresenting the object

Member Function Documentation

◆ getObjectDimensions()

bool ad::rss::structured::RssObjectPositionExtractor::getObjectDimensions ( ObjectDimensions objectDimensions)

Retrieve the objectDimension information back from the class.

Parameters
[out]objectDimensions
Returns
true if calculation is complete, false if not all occupied_regions are processed yet

◆ newLaneSegment()

bool ad::rss::structured::RssObjectPositionExtractor::newLaneSegment ( physics::MetricRange  lateral_distance,
world::LaneSegment const &  laneSegment 
)

Add information of the next adjacent laneSegement.

Parameters
[in]lateral_distanceminimal and maximal lateral distance to the begin of the segment
[in]laneSegmentthe information about the laneSegment
Returns
false if an error occurred, true otherwise.

◆ newRoadSegment()

bool ad::rss::structured::RssObjectPositionExtractor::newRoadSegment ( physics::MetricRange const &  longitudinalStart,
world::RoadSegment const &  roadSegment 
)

Indicate that there is a new road segment.

Parameters
[in]longitudinalStartmetric range in the constellation based coordinate system to the start of the road segment
[in]roadSegmentthe new road segment
Returns
return false if an error occurred, true otherwise.

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