Apollo
6.0
Open source self driving car software
|
#include <polygon_scan_cvter.h>
Classes | |
struct | Edge |
Public Types | |
enum | DirectionMajor { XMAJOR = 0, YMAJOR = 1 } |
typedef Eigen::Matrix< T, 2, 1 > | Point |
typedef std::vector< Point, Eigen::aligned_allocator< Point > > | Polygon |
typedef std::pair< T, T > | IntervalIn |
typedef std::pair< double, double > | IntervalOut |
typedef std::pair< Point, Point > | Segment |
Public Member Functions | |
PolygonScanCvter ()=default | |
virtual | ~PolygonScanCvter ()=default |
const Polygon & | polygon () const |
void | Init (const Polygon &polygon) |
void | Reset () |
void | ScanCvt (const T &scan_loc, DirectionMajor dir_major, std::vector< IntervalOut > *scan_intervals) |
void | ScansCvt (const IntervalIn &scans_interval, const DirectionMajor dir_major, const T &step, std::vector< std::vector< IntervalOut >> *scans_intervals) |
Static Public Member Functions | |
static DirectionMajor | OppositeDirection (const DirectionMajor dir_major) |
Static Public Attributes | |
static const double | s_epsilon_ |
static const double | s_inf_ = std::numeric_limits<T>::infinity() |
typedef std::pair<T, T> apollo::perception::lidar::PolygonScanCvter< T >::IntervalIn |
typedef std::pair<double, double> apollo::perception::lidar::PolygonScanCvter< T >::IntervalOut |
typedef Eigen::Matrix<T, 2, 1> apollo::perception::lidar::PolygonScanCvter< T >::Point |
typedef std::vector<Point, Eigen::aligned_allocator<Point> > apollo::perception::lidar::PolygonScanCvter< T >::Polygon |
typedef std::pair<Point, Point> apollo::perception::lidar::PolygonScanCvter< T >::Segment |
enum apollo::perception::lidar::PolygonScanCvter::DirectionMajor |
|
default |
|
virtualdefault |
void apollo::perception::lidar::PolygonScanCvter< T >::Init | ( | const Polygon & | polygon | ) |
|
inlinestatic |
|
inline |
void apollo::perception::lidar::PolygonScanCvter< T >::Reset | ( | ) |
void apollo::perception::lidar::PolygonScanCvter< T >::ScanCvt | ( | const T & | scan_loc, |
DirectionMajor | dir_major, | ||
std::vector< IntervalOut > * | scan_intervals | ||
) |
void apollo::perception::lidar::PolygonScanCvter< T >::ScansCvt | ( | const IntervalIn & | scans_interval, |
const DirectionMajor | dir_major, | ||
const T & | step, | ||
std::vector< std::vector< IntervalOut >> * | scans_intervals | ||
) |
|
static |
|
static |