Apollo 11.0
自动驾驶开放平台
apollo::perception::algorithm::GroundPlaneSpherical结构体 参考

#include <i_ground.h>

apollo::perception::algorithm::GroundPlaneSpherical 的协作图:

Public 成员函数

 GroundPlaneSpherical ()
 
GroundPlaneSpherical & operator= (const GroundPlaneSpherical &pi)
 
bool IsValid () const
 
void ForceInvalid ()
 
int GetNrSupport () const
 
void SetNrSupport (int nr)
 
bool GetStatus () const
 
void SetStatus (bool flag)
 

Public 属性

float theta
 
float phi
 
float d
 

详细描述

在文件 i_ground.h 第 143 行定义.

构造及析构函数说明

◆ GroundPlaneSpherical()

apollo::perception::algorithm::GroundPlaneSpherical::GroundPlaneSpherical ( )
inline

在文件 i_ground.h 第 144 行定义.

成员函数说明

◆ ForceInvalid()

void apollo::perception::algorithm::GroundPlaneSpherical::ForceInvalid ( )
inline

在文件 i_ground.h 第 161 行定义.

161 {
162 theta = phi = d = 0;
163 nr_support = 0;
164 }

◆ GetNrSupport()

int apollo::perception::algorithm::GroundPlaneSpherical::GetNrSupport ( ) const
inline

在文件 i_ground.h 第 166 行定义.

166{ return nr_support; }

◆ GetStatus()

bool apollo::perception::algorithm::GroundPlaneSpherical::GetStatus ( ) const
inline

在文件 i_ground.h 第 170 行定义.

170{ return is_detected; }

◆ IsValid()

bool apollo::perception::algorithm::GroundPlaneSpherical::IsValid ( ) const
inline

在文件 i_ground.h 第 159 行定义.

159{ return (nr_support > 0); }

◆ operator=()

GroundPlaneSpherical & apollo::perception::algorithm::GroundPlaneSpherical::operator= ( const GroundPlaneSpherical &  pi)
inline

在文件 i_ground.h 第 150 行定义.

150 {
151 this->theta = pi.theta;
152 this->phi = pi.phi;
153 this->d = pi.d;
154 this->nr_support = pi.GetNrSupport();
155 this->is_detected = pi.GetStatus();
156 return (*this);
157 }

◆ SetNrSupport()

void apollo::perception::algorithm::GroundPlaneSpherical::SetNrSupport ( int  nr)
inline

在文件 i_ground.h 第 168 行定义.

168{ nr_support = nr; }

◆ SetStatus()

void apollo::perception::algorithm::GroundPlaneSpherical::SetStatus ( bool  flag)
inline

在文件 i_ground.h 第 172 行定义.

172{ is_detected = flag; }

类成员变量说明

◆ d

float apollo::perception::algorithm::GroundPlaneSpherical::d

在文件 i_ground.h 第 176 行定义.

◆ phi

float apollo::perception::algorithm::GroundPlaneSpherical::phi

在文件 i_ground.h 第 175 行定义.

◆ theta

float apollo::perception::algorithm::GroundPlaneSpherical::theta

在文件 i_ground.h 第 174 行定义.


该结构体的文档由以下文件生成: