PlaneData Class¶
Constructor¶
Constructor
- C
void easyar_PlaneData__ctor(easyar_PlaneData * * Return)
- C++17
PlaneData()
- C++03(Deprecated)
PlaneData()
- Java
public PlaneData()
- Kotlin
constructor()
- Objective-C
+ (easyar_PlaneData *) create
- Swift
public convenience init()
- C#
public PlaneData()
getType¶
获取平面类型,当前支持水平面和竖直面。
- C
easyar_PlaneType easyar_PlaneData_getType(const easyar_PlaneData * This)
- C++17
PlaneType getType()
- C++03(Deprecated)
PlaneType getType()
- Java
public int getType()
- Kotlin
fun getType(): Int
- Objective-C
- (easyar_PlaneType)getType
- Swift
public func getType() -> PlaneType
- C#
public virtual PlaneType getType()
getPose¶
获取平面中心在当前地图坐标系中的位置和姿态。Y轴正方向为平面向外方向,X轴和Z轴定义了外接矩形的范围。
- C
easyar_Matrix44F easyar_PlaneData_getPose(const easyar_PlaneData * This)
- C++17
Matrix44F getPose()
- C++03(Deprecated)
Matrix44F getPose()
- Java
public @Nonnull Matrix44F getPose()
- Kotlin
fun getPose(): Matrix44F
- Objective-C
- (easyar_Matrix44F *)getPose
- Swift
public func getPose() -> Matrix44F
- C#
public virtual Matrix44F getPose()
getExtentX¶
返回检测到的平面的最小外接矩形的在局部坐标系X轴上的尺寸,其中最小外接矩形的中心为平面中心。
- C
float easyar_PlaneData_getExtentX(const easyar_PlaneData * This)
- C++17
float getExtentX()
- C++03(Deprecated)
float getExtentX()
- Java
public float getExtentX()
- Kotlin
fun getExtentX(): Float
- Objective-C
- (float)getExtentX
- Swift
public func getExtentX() -> Float
- C#
public virtual float getExtentX()
getExtentZ¶
返回检测到的平面的最小外接矩形的在局部坐标系Z轴上的尺寸,其中最小外接矩形的中心为平面中心。
- C
float easyar_PlaneData_getExtentZ(const easyar_PlaneData * This)
- C++17
float getExtentZ()
- C++03(Deprecated)
float getExtentZ()
- Java
public float getExtentZ()
- Kotlin
fun getExtentZ(): Float
- Objective-C
- (float)getExtentZ
- Swift
public func getExtentZ() -> Float
- C#
public virtual float getExtentZ()