Autoware.Auto
autoware::tracking_test_framework::Shape Class Referenceabstract

This is the base class for the 2D shapes. More...

#include <shapes.hpp>

Inheritance diagram for autoware::tracking_test_framework::Shape:

Public Member Functions

virtual EigenStlVector< Eigen::Vector2f > intersect_with_line (const Line &line, const autoware::common::types::bool8_t closest_point_only) const =0
 virtual method to get intersection points between the line and different shapes More...
 
virtual ~Shape ()=default
 Virtual destructor. More...
 

Detailed Description

This is the base class for the 2D shapes.

Constructor & Destructor Documentation

◆ ~Shape()

virtual autoware::tracking_test_framework::Shape::~Shape ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ intersect_with_line()

virtual EigenStlVector<Eigen::Vector2f> autoware::tracking_test_framework::Shape::intersect_with_line ( const Line line,
const autoware::common::types::bool8_t  closest_point_only 
) const
pure virtual

virtual method to get intersection points between the line and different shapes

Parameters
[in]linethe Line object
[in]closest_point_onlythe boolean to determine if closest intersection to be returned or all
Returns
returns the intersection points

Implemented in autoware::tracking_test_framework::Circle, autoware::tracking_test_framework::Rectangle, and autoware::tracking_test_framework::Line.


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