public class AoiInfo
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AoiInfo.AoiType |
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
AoiInfo() |
protected |
AoiInfo(Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getAoiName()
获取AOI名称
|
AoiInfo.AoiType |
getAoiType()
获取 Aoi类型
|
int |
getNearestDistance()
获取点距离aoi边界最近距离
注:点在aoi面内则返回0
|
int |
getOrder()
对应输入点顺序,用来区分是哪个点返回的aoi
注意:该字段从1开始计数
|
java.lang.String |
getPolygon()
获取加密后的面
|
int |
getRelation()
对应输入点与aoi的关系
|
java.lang.String |
getUid()
获取AOI UID
|
void |
setAoiName(java.lang.String aoiName)
设置 AOI名称
|
void |
setAoiType(AoiInfo.AoiType aoiType)
设置Aoi类型
|
void |
setNearestDistance(int nearestDistance)
设置点距离aoi边界最近距离
注:点在aoi面内则返回0
|
void |
setOrder(int order)
对应输入点顺序,用来区分是哪个点返回的aoi
注意:该字段从1开始计数
|
void |
setPolygon(java.lang.String polygon)
设置加密后的面
|
void |
setRelation(int relation)
对应输入点与aoi的关系
0(aoi内),1(aoi外),2(未找到)
|
void |
setUid(java.lang.String uid)
设置Aoi uid
|
java.lang.String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public void setUid(java.lang.String uid)
uid
- Aoi Uidpublic void setPolygon(java.lang.String polygon)
polygon
- 加密后面数据public void setAoiName(java.lang.String aoiName)
aoiName
- AOI名称public void setAoiType(AoiInfo.AoiType aoiType)
aoiType
- Aoi类型public void setNearestDistance(int nearestDistance)
nearestDistance
- 单位(米)public void setOrder(int order)
order
- 返回的aoi对应点顺序public void setRelation(int relation)
relation
- 点与aoi的关系public java.lang.String getUid()
public java.lang.String getPolygon()
public java.lang.String getAoiName()
public AoiInfo.AoiType getAoiType()
public int getNearestDistance()
public int getOrder()
public int getRelation()
public java.lang.String toString()
toString
in class java.lang.Object
public void writeToParcel(Parcel dest, int flags)
public int describeContents()