Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::localization::msf::Rect2D< T > Class Template Reference

#include <rect2d.h>

Collaboration diagram for apollo::localization::msf::Rect2D< T >:
Collaboration graph

Public Member Functions

 Rect2D ()
 
 Rect2D (T min_x, T min_y, T max_x, T max_y)
 The constructor. More...
 
 Rect2D (const Rect2D< T > &ref)
 Copy constructor. More...
 
Rect2D< T > & operator= (const Rect2D< T > &ref)
 Overloading the operator =. More...
 
GetMinX () const
 Get the min x of the rectangle. More...
 
GetMinY () const
 Get the min y of the rectangle. More...
 
GetMaxX () const
 Get the max x of the rectangle. More...
 
GetMaxY () const
 Get the max y of the rectangle. More...
 
Eigen::Matrix< T, 2, 1 > GetLeftTopCorner () const
 Get the left top corner of the rectangle. More...
 
Eigen::Matrix< T, 2, 1 > GetRightBottomCorner () const
 Get the right bottom corner of the rectangle. More...
 

Constructor & Destructor Documentation

◆ Rect2D() [1/3]

template<typename T >
apollo::localization::msf::Rect2D< T >::Rect2D ( )

The constructor.

◆ Rect2D() [2/3]

template<typename T>
apollo::localization::msf::Rect2D< T >::Rect2D ( min_x,
min_y,
max_x,
max_y 
)

The constructor.

◆ Rect2D() [3/3]

template<typename T>
apollo::localization::msf::Rect2D< T >::Rect2D ( const Rect2D< T > &  ref)

Copy constructor.

Member Function Documentation

◆ GetLeftTopCorner()

template<typename T >
Eigen::Matrix< T, 2, 1 > apollo::localization::msf::Rect2D< T >::GetLeftTopCorner ( ) const

Get the left top corner of the rectangle.

◆ GetMaxX()

template<typename T >
T apollo::localization::msf::Rect2D< T >::GetMaxX ( ) const

Get the max x of the rectangle.

◆ GetMaxY()

template<typename T >
T apollo::localization::msf::Rect2D< T >::GetMaxY ( ) const

Get the max y of the rectangle.

◆ GetMinX()

template<typename T >
T apollo::localization::msf::Rect2D< T >::GetMinX ( ) const

Get the min x of the rectangle.

◆ GetMinY()

template<typename T >
T apollo::localization::msf::Rect2D< T >::GetMinY ( ) const

Get the min y of the rectangle.

◆ GetRightBottomCorner()

template<typename T >
Eigen::Matrix< T, 2, 1 > apollo::localization::msf::Rect2D< T >::GetRightBottomCorner ( ) const

Get the right bottom corner of the rectangle.

◆ operator=()

template<typename T>
Rect2D< T > & apollo::localization::msf::Rect2D< T >::operator= ( const Rect2D< T > &  ref)

Overloading the operator =.


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