public class ARGeoHorizontalRegion extends ARGeometry
ARGeometry.ARGeometryTypeBaseShape.MatType, BaseShape.Mode| 构造器和说明 |
|---|
ARGeoHorizontalRegion()
构造方法
|
ARGeoHorizontalRegion(BaseShape.MatType matType)
构造方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addPart(java.util.List<Point3D> pointList)
添加子对象
|
void |
addPoint3D(int part,
int index,
Point3D point3D)
根据index添加节点
|
void |
clear()
清除对象
|
void |
deletePoint3D(int part,
int index)
根据index删除节点
|
void |
drawRegion(float startUpAzimuth,
Location startUpLocation,
GeoRegion geometry)
绘制几何对象
|
void |
drawRegion(GeoRegion geometry)
绘制几何对象
|
void |
drawRegion(java.util.List<Point3D> pointList)
绘制AR多边形(水平面)
|
GeoRegion |
getGeoRegion()
获取面对象
|
AREffectElement |
getParentElement()
获取父节点元素
|
Point2Ds |
getPart(int index)
返回该对象指定序号的子对象,以有序点集的方式返回该子对象
|
float |
getPartArea(int partIndex)
获取指定索引的子对象的面积
|
Point3D |
getPartCenterPoint(int partIndex)
获取指定索引的子对象的几何中心
|
int |
getPartCount()
返回该对象子对象的个数
|
Point2Ds |
getPartPoint2Ds(int index)
获取指定索引的子对象的 地理坐标点集合对象
|
float |
getRenderHeight()
获取渲染高度
|
void |
resetGeometry()
重置几何对象
|
void |
setParentNode(AREffectElement element)
设置父节点
|
void |
setParentNode(EffectView arView)
设置父节点
|
void |
setRenderHeight(float renderHeight)
设置渲染高度
|
void |
updatePoint3D(int part,
int index,
Point3D point3D)
根据index编辑节点
|
getPartPoint3Ds, getPartShape, getType, isEdit, select, setEdit, setSelectionColor, setSelectionTextureMap, unSelectgetColor, getColorRGBA, getMetallic, getRadius, getReflectance, getRoughness, getSelectionColor, getSelectionTextureMap, getShapeMaterial, getShapeStyle, getTextureMap, isRenderable, isSelected, isShadowCaster, isShadowReceiver, setColor, setColor, setColor, setMetallic, setRadius, setReflectance, setRenderable, setRoughness, setShadowCaster, setShadowReceiver, setShapeStyle, setTextureMap, updateMaterialpublic ARGeoHorizontalRegion()
public ARGeoHorizontalRegion(BaseShape.MatType matType)
matType - 材质类型(透明/不透明)public void addPart(java.util.List<Point3D> pointList)
pointList - public void drawRegion(java.util.List<Point3D> pointList)
pointList - 首尾相连的点集public void drawRegion(GeoRegion geometry)
geometry - 平面几何对象public void drawRegion(float startUpAzimuth,
Location startUpLocation,
GeoRegion geometry)
startUpAzimuth - 设备启动时方位角startUpLocation - 设备启动时位置geometry - 平面几何对象public GeoRegion getGeoRegion()
public float getRenderHeight()
public void setRenderHeight(float renderHeight)
renderHeight - public void clear()
clear 在类中 ARGeometrypublic Point2Ds getPart(int index)
index - public int getPartCount()
getPartCount 在类中 ARGeometrypublic float getPartArea(int partIndex)
partIndex - public Point3D getPartCenterPoint(int partIndex)
partIndex - public void resetGeometry()
ARGeometryresetGeometry 在类中 ARGeometrypublic void updatePoint3D(int part,
int index,
Point3D point3D)
ARGeometryupdatePoint3D 在类中 ARGeometrypublic void addPoint3D(int part,
int index,
Point3D point3D)
ARGeometryaddPoint3D 在类中 ARGeometrypublic void deletePoint3D(int part,
int index)
ARGeometrydeletePoint3D 在类中 ARGeometrypublic Point2Ds getPartPoint2Ds(int index)
index - 索引public void setParentNode(AREffectElement element)
element - public void setParentNode(EffectView arView)
arView - public AREffectElement getParentElement()