Apollo  v5.5.0
Open source self driving car software
Public Member Functions | Public Attributes | Friends | List of all members
apollo::perception::benchmark::VisPoint Struct Reference

#include <geo_util.h>

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

Public Member Functions

 VisPoint ()=default
 
 VisPoint (float x, float y)
 
 VisPoint (const Eigen::Vector2f &point_)
 
bool operator< (const VisPoint &other) const
 
bool operator== (const VisPoint &other) const
 
bool operator!= (const VisPoint &other) const
 
VisPoint operator+ (const VisPoint &other) const
 
VisPoint operator- (const VisPoint &other) const
 
VisPoint operator- () const
 
VisPoint operator* (float scale) const
 
VisPoint operator/ (float scale) const
 
const float & x () const
 
const float & y () const
 
float & x ()
 
float & y ()
 
float dot (const VisPoint &other) const
 
float cross (const VisPoint &other) const
 
float length_squared () const
 

Public Attributes

Eigen::Vector2f point
 

Friends

std::ostream & operator<< (std::ostream &output, const VisPoint &p)
 

Constructor & Destructor Documentation

◆ VisPoint() [1/3]

apollo::perception::benchmark::VisPoint::VisPoint ( )
default

◆ VisPoint() [2/3]

apollo::perception::benchmark::VisPoint::VisPoint ( float  x,
float  y 
)
inlineexplicit

◆ VisPoint() [3/3]

apollo::perception::benchmark::VisPoint::VisPoint ( const Eigen::Vector2f &  point_)
inlineexplicit

Member Function Documentation

◆ cross()

float apollo::perception::benchmark::VisPoint::cross ( const VisPoint other) const
inline

◆ dot()

float apollo::perception::benchmark::VisPoint::dot ( const VisPoint other) const
inline

◆ length_squared()

float apollo::perception::benchmark::VisPoint::length_squared ( ) const
inline

◆ operator!=()

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

◆ operator*()

VisPoint apollo::perception::benchmark::VisPoint::operator* ( float  scale) const
inline

◆ operator+()

VisPoint apollo::perception::benchmark::VisPoint::operator+ ( const VisPoint other) const
inline

◆ operator-() [1/2]

VisPoint apollo::perception::benchmark::VisPoint::operator- ( const VisPoint other) const
inline

◆ operator-() [2/2]

VisPoint apollo::perception::benchmark::VisPoint::operator- ( ) const
inline

◆ operator/()

VisPoint apollo::perception::benchmark::VisPoint::operator/ ( float  scale) const
inline

◆ operator<()

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

◆ operator==()

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

◆ x() [1/2]

const float& apollo::perception::benchmark::VisPoint::x ( ) const
inline

◆ x() [2/2]

float& apollo::perception::benchmark::VisPoint::x ( )
inline

◆ y() [1/2]

const float& apollo::perception::benchmark::VisPoint::y ( ) const
inline

◆ y() [2/2]

float& apollo::perception::benchmark::VisPoint::y ( )
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  output,
const VisPoint p 
)
friend

Member Data Documentation

◆ point

Eigen::Vector2f apollo::perception::benchmark::VisPoint::point

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