Autoware.Auto
autoware::perception::filters::ray_ground_classifier::PointXYZIFR Class Reference

This is a simplified point view of a ray. The only information needed is height and projected radial distance from the sensor. More...

#include <ray_ground_point_classifier.hpp>

Public Member Functions

 PointXYZIFR ()=default
 Default constructor. More...
 
 PointXYZIFR (const PointXYZIF *pt)
 Conversion constructor. More...
 
float32_t get_r () const
 Getter for radius. More...
 
float32_t get_z () const
 Getter for height. More...
 
const PointXYZIFget_point_pointer () const
 Get address-of core point. More...
 

Friends

bool8_t operator< (const PointXYZIFR &lhs, const PointXYZIFR &rhs) noexcept
 Comparison operator for default sorting. More...
 

Detailed Description

This is a simplified point view of a ray. The only information needed is height and projected radial distance from the sensor.

Constructor & Destructor Documentation

◆ PointXYZIFR() [1/2]

autoware::perception::filters::ray_ground_classifier::PointXYZIFR::PointXYZIFR ( )
default

Default constructor.

◆ PointXYZIFR() [2/2]

autoware::perception::filters::ray_ground_classifier::PointXYZIFR::PointXYZIFR ( const PointXYZIF pt)
explicit

Conversion constructor.

Parameters
[in]ptThe point to convert into a 2D view

Member Function Documentation

◆ get_point_pointer()

const PointXYZIF * autoware::perception::filters::ray_ground_classifier::PointXYZIFR::get_point_pointer ( ) const

Get address-of core point.

Returns
Pointer to internally stored point

◆ get_r()

float32_t autoware::perception::filters::ray_ground_classifier::PointXYZIFR::get_r ( ) const

Getter for radius.

Returns
The projected radial distance

◆ get_z()

float32_t autoware::perception::filters::ray_ground_classifier::PointXYZIFR::get_z ( ) const

Getter for height.

Returns
The height of the point

Friends And Related Function Documentation

◆ operator<

bool8_t operator< ( const PointXYZIFR lhs,
const PointXYZIFR rhs 
)
friend

Comparison operator for default sorting.

Parameters
[in]lhsLeft hand side of comparison
[in]rhsRight hand side of comparison
Returns
True if lhs < rhs: if lhs.r < rhs.r, if nearly same radius then lhs.z < rhs.z

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