公開抽象類別 Landmark
地標代表 3D 空間中的點,其中包含 x、y 和 z 座標。地標座標以公尺為單位。z 代表地標深度,而世界地標越接近相機的值就越小。
公用建構函式
地標()
|
公用方法
static 地標 |
create(浮點值 x、浮點值 y、浮點值)
以 x、y 和 z 座標建立地標。
|
static 地標 | |
static 地標 |
createFromProto(LandmarkProto.LandmarkmarkProto)
根據地標原型建立地標。
|
static 清單<Landmark> |
createListFromProto(LandmarkProto.LandmarkList 地標 ListProto)
從
ERROR(/LandmarkList) 建立地標清單。 |
最終 布林值 | |
最終 int |
hashCode()
|
抽象 Optional<浮點> |
presence()
|
最終字串 |
toString()
|
抽象 Optional<浮點> | |
抽象 浮點值 |
x()
|
抽象 浮點值 |
y()
|
抽象 浮點值 |
z()
|
繼承的方法
公用建構函式
public Landmark ()
公用方法
public static Landmark create (float x, float y, float z, Optional<Float> 顯示設定、選用<浮點>在家狀態)
以 x、y 和 z 座標建立正規化地標,可選擇是否顯示設定和顯示狀態。
參數
x | |
---|---|
y | |
z | |
顯示設定 | |
個人檔案 |
public static Landmark createFromProto (LandmarkProto.LandmarkmarkProto)
根據地標原型建立地標。
參數
landmarkProto |
---|
public static List<Landmark> createListFromProto (LandmarkProto.LandmarkListmarkListProto)
從 ERROR(/LandmarkList)
建立地標清單。
參數
landmarkListProto |
---|