Apollo  6.0
Open source self driving car software
Public Member Functions | Public Attributes | Friends | List of all members
apollo::perception::benchmark::Segment Struct Reference

#include <geo_util.h>

Collaboration diagram for apollo::perception::benchmark::Segment:
Collaboration graph

Public Member Functions

 Segment ()=default
 
 Segment (const VisPoint &start, const VisPoint &end, int idx=-2)
 
bool operator< (const Segment &other) const
 
bool operator== (const Segment &other) const
 
bool operator!= (const Segment &other) const
 

Public Attributes

VisPoint start
 
VisPoint end
 
int idx = -2
 

Friends

std::ostream & operator<< (std::ostream &output, const Segment &s)
 

Constructor & Destructor Documentation

◆ Segment() [1/2]

apollo::perception::benchmark::Segment::Segment ( )
default

◆ Segment() [2/2]

apollo::perception::benchmark::Segment::Segment ( const VisPoint start,
const VisPoint end,
int  idx = -2 
)
inline

Member Function Documentation

◆ operator!=()

bool apollo::perception::benchmark::Segment::operator!= ( const Segment other) const

◆ operator<()

bool apollo::perception::benchmark::Segment::operator< ( const Segment other) const

◆ operator==()

bool apollo::perception::benchmark::Segment::operator== ( const Segment other) const

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  output,
const Segment s 
)
friend

Member Data Documentation

◆ end

VisPoint apollo::perception::benchmark::Segment::end

◆ idx

int apollo::perception::benchmark::Segment::idx = -2

◆ start

VisPoint apollo::perception::benchmark::Segment::start

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