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 supporting horizontal and vertical planes.
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
getPose
Get 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, while the X-axis and Z-axis 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
getExtentX
Return the dimension of the detected plane's bounding-rectangle along the X-axis in the local coordinate system, where 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
- Single
getExtentZ
Return the dimension of the detected plane's bounding-rectangle along the Z-axis in the local coordinate system, where 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
- Single