Apollo 11.0
自动驾驶开放平台
apollo::perception::algorithm::PlanePara< T > 模板结构体 参考

#include <i_plane.h>

apollo::perception::algorithm::PlanePara< T > 的协作图:

Public 成员函数

 PlanePara (const PlanePara< T > &pi)
 
PlanePara & operator= (const PlanePara< T > &pi)
 
void Clear ()
 
void Assign (const T *pi)
 
bool IsValid ()
 
 PlanePara ()
 

Public 属性

T p [4]
 
T t [3]
 
T data_stat [2]
 

详细描述

template<typename T>
struct apollo::perception::algorithm::PlanePara< T >

在文件 i_plane.h 第 31 行定义.

构造及析构函数说明

◆ PlanePara() [1/2]

template<typename T >
apollo::perception::algorithm::PlanePara< T >::PlanePara ( const PlanePara< T > &  pi)
inline

在文件 i_plane.h 第 32 行定义.

32 {
33 ICopy4(pi.p, p);
34 ICopy3(pi.t, t);
35 ICopy2(pi.data_stat, data_stat);
36 }
void ICopy3(const T src[3], T dst[3])
Definition i_blas.h:40
void ICopy2(const T src[2], T dst[2])
Definition i_blas.h:35
void ICopy4(const T src[4], T dst[4])
Definition i_blas.h:46

◆ PlanePara() [2/2]

template<typename T >
apollo::perception::algorithm::PlanePara< T >::PlanePara ( )
inline

在文件 i_plane.h 第 60 行定义.

成员函数说明

◆ Assign()

template<typename T >
void apollo::perception::algorithm::PlanePara< T >::Assign ( const T *  pi)
inline

在文件 i_plane.h 第 54 行定义.

54 {
55 ICopy4(pi, p);
56 ICopy3(pi + 4, t);
57 ICopy2(pi + 7, data_stat);
58 }

◆ Clear()

template<typename T >
void apollo::perception::algorithm::PlanePara< T >::Clear ( )
inline

在文件 i_plane.h 第 49 行定义.

49 {
50 IZero4(p);
51 IZero3(t);
53 }

◆ IsValid()

template<typename T >
bool apollo::perception::algorithm::PlanePara< T >::IsValid ( )
inline

在文件 i_plane.h 第 59 行定义.

59{ return (ISqrt(IQquaresum3(p)) > static_cast<T>(0)); }

◆ operator=()

template<typename T >
PlanePara & apollo::perception::algorithm::PlanePara< T >::operator= ( const PlanePara< T > &  pi)
inline

在文件 i_plane.h 第 37 行定义.

37 {
38 ICopy4(pi.p, this->p);
39 ICopy3(pi.t, this->t);
40 ICopy2(pi.data_stat, this->data_stat);
41 return (*this);
42 }

类成员变量说明

◆ data_stat

template<typename T >
T apollo::perception::algorithm::PlanePara< T >::data_stat[2]

在文件 i_plane.h 第 48 行定义.

◆ p

template<typename T >
T apollo::perception::algorithm::PlanePara< T >::p[4]

在文件 i_plane.h 第 44 行定义.

◆ t

template<typename T >
T apollo::perception::algorithm::PlanePara< T >::t[3]

在文件 i_plane.h 第 45 行定义.


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