Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::routing::NodeWithRange Class Reference

#include <node_with_range.h>

Inheritance diagram for apollo::routing::NodeWithRange:
Inheritance graph
Collaboration diagram for apollo::routing::NodeWithRange:
Collaboration graph

Public Member Functions

 NodeWithRange (const NodeWithRange &other)=default
 
 NodeWithRange (const TopoNode *node, double start_s, double end_s)
 
 NodeWithRange (const TopoNode *node, const NodeSRange &range)
 
virtual ~NodeWithRange ()
 
bool operator< (const NodeWithRange &other) const
 
const TopoNodeGetTopoNode () const
 
bool IsVirtual () const
 
const std::string & RoadId () const
 
const std::string & LaneId () const
 
double FullLength () const
 
- Public Member Functions inherited from apollo::routing::NodeSRange
 NodeSRange ()=default
 
 NodeSRange (double s1, double s2)
 
virtual ~NodeSRange ()=default
 
bool operator< (const NodeSRange &other) const
 
bool IsValid () const
 
double StartS () const
 
double EndS () const
 
bool IsEnoughForChangeLane () const
 
double Length () const
 
void SetStartS (double start_s)
 
void SetEndS (double end_s)
 
bool MergeRangeOverlap (const NodeSRange &other)
 

Additional Inherited Members

- Static Public Member Functions inherited from apollo::routing::NodeSRange
static bool IsEnoughForChangeLane (double start_s, double end_s)
 
static bool IsEnoughForChangeLane (double length)
 

Constructor & Destructor Documentation

◆ NodeWithRange() [1/3]

apollo::routing::NodeWithRange::NodeWithRange ( const NodeWithRange other)
default

◆ NodeWithRange() [2/3]

apollo::routing::NodeWithRange::NodeWithRange ( const TopoNode node,
double  start_s,
double  end_s 
)

◆ NodeWithRange() [3/3]

apollo::routing::NodeWithRange::NodeWithRange ( const TopoNode node,
const NodeSRange range 
)

◆ ~NodeWithRange()

virtual apollo::routing::NodeWithRange::~NodeWithRange ( )
virtual

Member Function Documentation

◆ FullLength()

double apollo::routing::NodeWithRange::FullLength ( ) const

◆ GetTopoNode()

const TopoNode* apollo::routing::NodeWithRange::GetTopoNode ( ) const

◆ IsVirtual()

bool apollo::routing::NodeWithRange::IsVirtual ( ) const

◆ LaneId()

const std::string& apollo::routing::NodeWithRange::LaneId ( ) const

◆ operator<()

bool apollo::routing::NodeWithRange::operator< ( const NodeWithRange other) const

◆ RoadId()

const std::string& apollo::routing::NodeWithRange::RoadId ( ) const

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