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

Gets the plane type. Horizontal and vertical planes are currently supported.

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

Type Description
PlaneType

getPose

Gets the position and pose of the plane center in the current map coordinate system. The positive Y-axis direction is the outward direction of the plane, and the X and Z axes define the extent 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

Type Description
Matrix44F

getExtentX

Returns the size of the detected plane bounding rectangle on the X axis in the local coordinate system. The center of the bounding rectangle is the plane center.

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

Type Description
Single

getExtentZ

Returns the size of the detected plane bounding rectangle on the Z axis in the local coordinate system. The center of the bounding rectangle is the plane center.

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

Type Description
Single