Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::hdmap::ObjectWithAABox< Object, GeoObject > Class Template Reference

#include <hdmap_common.h>

Collaboration diagram for apollo::hdmap::ObjectWithAABox< Object, GeoObject >:
Collaboration graph

Public Member Functions

 ObjectWithAABox (const apollo::common::math::AABox2d &aabox, const Object *object, const GeoObject *geo_object, const int id)
 
 ~ObjectWithAABox ()
 
const apollo::common::math::AABox2daabox () const
 
double DistanceTo (const apollo::common::math::Vec2d &point) const
 
double DistanceSquareTo (const apollo::common::math::Vec2d &point) const
 
const Object * object () const
 
const GeoObject * geo_object () const
 
int id () const
 

Constructor & Destructor Documentation

◆ ObjectWithAABox()

template<class Object , class GeoObject >
apollo::hdmap::ObjectWithAABox< Object, GeoObject >::ObjectWithAABox ( const apollo::common::math::AABox2d aabox,
const Object *  object,
const GeoObject *  geo_object,
const int  id 
)
inline

◆ ~ObjectWithAABox()

template<class Object , class GeoObject >
apollo::hdmap::ObjectWithAABox< Object, GeoObject >::~ObjectWithAABox ( )
inline

Member Function Documentation

◆ aabox()

template<class Object , class GeoObject >
const apollo::common::math::AABox2d& apollo::hdmap::ObjectWithAABox< Object, GeoObject >::aabox ( ) const
inline

◆ DistanceSquareTo()

template<class Object , class GeoObject >
double apollo::hdmap::ObjectWithAABox< Object, GeoObject >::DistanceSquareTo ( const apollo::common::math::Vec2d point) const
inline

◆ DistanceTo()

template<class Object , class GeoObject >
double apollo::hdmap::ObjectWithAABox< Object, GeoObject >::DistanceTo ( const apollo::common::math::Vec2d point) const
inline

◆ geo_object()

template<class Object , class GeoObject >
const GeoObject* apollo::hdmap::ObjectWithAABox< Object, GeoObject >::geo_object ( ) const
inline

◆ id()

template<class Object , class GeoObject >
int apollo::hdmap::ObjectWithAABox< Object, GeoObject >::id ( ) const
inline

◆ object()

template<class Object , class GeoObject >
const Object* apollo::hdmap::ObjectWithAABox< Object, GeoObject >::object ( ) const
inline

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