Astra SDK  v2.1.3
Public 成员函数 | 友元 | 所有成员列表

3D geometric plane 更多...

#include <Body.hpp>

类 astra::Plane 继承关系图:
_astra_plane

Public 成员函数

 Plane ()
 Default constructs a plane that passes though origin, has a zero-length normal, and is considered degenerate
 
float a () const
 Gets the A coefficient
 
float b () const
 Gets the B coefficient
 
float c () const
 Gets the C coefficient
 
float d () const
 Gets the D coefficent (signed distance)
 
const Vector3fnormal () const
 Gets the plane normal
 
bool is_degenerate () const
 Returns whether than plane is considered degenerate (invalid)
 

友元

class FloorInfo
 

详细描述

3D geometric plane

Represents a 3D plane.

The normal of the plane is defined to be (A, B, C). The plane coefficients and real world coordinates (x, y, and z) are related by the plane equation:

Ax + By + Cz + D = 0

备注
The vector v = (A, B, C) represents the normal to the plane and D represents the signed distance along the normal between the plane and the origin of the coordinate system. The the origin of the coordinate system is the camera's depth sensor

该类的文档由以下文件生成: