ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::if_r2s::Section::FunctionMap Class Reference

storage class to access different functions by their domain intervals More...

Collaboration diagram for adore::if_r2s::Section::FunctionMap:
Collaboration graph

Public Member Functions

void addFunction (TGeometryFunction *function, LaneBorder::TYPE type)
 add function to container More...
 
std::vector< TFunctionTypePairgetFunctionsAtParameter (double x)
 returns functions that are valid at the given parameter More...
 
std::vector< TFunctionTypePairgetFunctions ()
 getter method More...
 
void mend (TGeometryFunction *refLine, std::set< double > &intervals)
 try to repair some mistakes that might occur due to matching to closest point on refline More...
 
void deleteFunctions ()
 delete function objects More...
 

Private Member Functions

std::vector< TFunctionTypePairgetFunctionsStartingAtPoint (double x, double y)
 
std::vector< TFunctionTypePairgetFunctionsEndingAtPoint (double x, double y)
 
void resetSParameter (TGeometryFunction *geometry)
 

Private Attributes

std::vector< TFunctionTypePairfunctions_
 

Detailed Description

storage class to access different functions by their domain intervals

Member Function Documentation

◆ addFunction()

void adore::if_r2s::Section::FunctionMap::addFunction ( TGeometryFunction function,
LaneBorder::TYPE  type 
)
inline

add function to container

Parameters
function
type
Here is the caller graph for this function:

◆ deleteFunctions()

void adore::if_r2s::Section::FunctionMap::deleteFunctions ( )
inline

delete function objects

Here is the caller graph for this function:

◆ getFunctions()

std::vector<TFunctionTypePair> adore::if_r2s::Section::FunctionMap::getFunctions ( )
inline

getter method

Returns
std::vector<TFunctionTypePair>

◆ getFunctionsAtParameter()

std::vector<TFunctionTypePair> adore::if_r2s::Section::FunctionMap::getFunctionsAtParameter ( double  x)
inline

returns functions that are valid at the given parameter

Parameters
x
Returns
std::vector<TFunctionTypePair>
Here is the caller graph for this function:

◆ getFunctionsEndingAtPoint()

std::vector<TFunctionTypePair> adore::if_r2s::Section::FunctionMap::getFunctionsEndingAtPoint ( double  x,
double  y 
)
inlineprivate

◆ getFunctionsStartingAtPoint()

std::vector<TFunctionTypePair> adore::if_r2s::Section::FunctionMap::getFunctionsStartingAtPoint ( double  x,
double  y 
)
inlineprivate

◆ mend()

void adore::if_r2s::Section::FunctionMap::mend ( TGeometryFunction refLine,
std::set< double > &  intervals 
)
inline

try to repair some mistakes that might occur due to matching to closest point on refline

Parameters
refLine
intervals
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetSParameter()

void adore::if_r2s::Section::FunctionMap::resetSParameter ( TGeometryFunction geometry)
inlineprivate
Here is the call graph for this function:

Member Data Documentation

◆ functions_

std::vector<TFunctionTypePair> adore::if_r2s::Section::FunctionMap::functions_
private

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