Apollo
6.0
Open source self driving car software
|
#include <rect2d.h>
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... | |
T | GetMinX () const |
Get the min x of the rectangle. More... | |
T | GetMinY () const |
Get the min y of the rectangle. More... | |
T | GetMaxX () const |
Get the max x of the rectangle. More... | |
T | 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... | |
apollo::localization::msf::Rect2D< T >::Rect2D | ( | ) |
The constructor.
apollo::localization::msf::Rect2D< T >::Rect2D | ( | T | min_x, |
T | min_y, | ||
T | max_x, | ||
T | max_y | ||
) |
The constructor.
apollo::localization::msf::Rect2D< T >::Rect2D | ( | const Rect2D< T > & | ref | ) |
Copy constructor.
Eigen::Matrix< T, 2, 1 > apollo::localization::msf::Rect2D< T >::GetLeftTopCorner | ( | ) | const |
Get the left top corner of the rectangle.
T apollo::localization::msf::Rect2D< T >::GetMaxX | ( | ) | const |
Get the max x of the rectangle.
T apollo::localization::msf::Rect2D< T >::GetMaxY | ( | ) | const |
Get the max y of the rectangle.
T apollo::localization::msf::Rect2D< T >::GetMinX | ( | ) | const |
Get the min x of the rectangle.
T apollo::localization::msf::Rect2D< T >::GetMinY | ( | ) | const |
Get the min y of the rectangle.
Eigen::Matrix< T, 2, 1 > apollo::localization::msf::Rect2D< T >::GetRightBottomCorner | ( | ) | const |
Get the right bottom corner of the rectangle.
Rect2D< T > & apollo::localization::msf::Rect2D< T >::operator= | ( | const Rect2D< T > & | ref | ) |
Overloading the operator =.