Table of Contents

Class PlaneData

Namespace
easyar
PlaneData

Constructors

PlaneData

Constructor

void easyar_PlaneData__ctor(easyar_PlaneData * * Return)
PlaneData()
public PlaneData()
constructor()
+ (easyar_PlaneData *) create
public convenience init()
public PlaneData()

Methods

getType

Get the plane type, currently supports horizontal plane and vertical plane.

easyar_PlaneType easyar_PlaneData_getType(const easyar_PlaneData * This)
PlaneType getType()
public int getType()
fun getType(): Int
- (easyar_PlaneType)getType
public func getType() -> PlaneType
public virtual PlaneType getType()

Returns

PlaneType

getPose

Get the position and orientation of the plane center in the current map coordinate system. The positive direction of the Y axis is the outward direction of the plane, and the X axis and Z axis define the range of the bounding rectangle.

easyar_Matrix44F easyar_PlaneData_getPose(const easyar_PlaneData * This)
Matrix44F getPose()
public @Nonnull Matrix44F getPose()
fun getPose(): Matrix44F
- (easyar_Matrix44F *)getPose
public func getPose() -> Matrix44F
public virtual Matrix44F getPose()

Returns

Matrix44F

getExtentX

Return the size of the minimum bounding rectangle of the detected plane in the local coordinate system X axis, where the center of the minimum bounding rectangle is the center of the plane.

float easyar_PlaneData_getExtentX(const easyar_PlaneData * This)
float getExtentX()
public float getExtentX()
fun getExtentX(): Float
- (float)getExtentX
public func getExtentX() -> Float
public virtual float getExtentX()

Returns

Single

getExtentZ

Return the size of the minimum bounding rectangle of the detected plane in the local coordinate system Z axis, where the center of the minimum bounding rectangle is the center of the plane.

float easyar_PlaneData_getExtentZ(const easyar_PlaneData * This)
float getExtentZ()
public float getExtentZ()
fun getExtentZ(): Float
- (float)getExtentZ
public func getExtentZ() -> Float
public virtual float getExtentZ()

Returns

Single