com.supermap.data
类 GeoPicture3D
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.data.Geometry
-
- com.supermap.data.Geometry3D
-
- com.supermap.data.GeoPicture3D
-
- 所有已实现的接口:
- IDisposable
public class GeoPicture3D extends Geometry3D
三维图片几何对象类,该类继承自Geometry3D
类。GeoPicture3D 类中从
Geometry3D
类继承下来的getPosition()
方法以及setPosition()
方法,表示 GeoPicture3D 类对象的位置。该类仅在 Windows、Linux 平台版本中支持。
注意:该类的对象调用
getGeoModel()
方法无效,即返回值为null。
-
-
构造器概要
构造器 构造器和说明 GeoPicture3D()
构造一个新的 GeoPicture3D 对象。GeoPicture3D(GeoPicture3D geoPicture3D)
根据给定的 GeoPicture3D 对象构造一个与其完全相同的新对象。GeoPicture3D(String imageFile, Point3D position, double width, double height, double rotationZ)
根据指定的参数来构造一个 GeoPicture3D 的新对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 GeoPicture3D
clone()
克隆一个Geometry对象。void
dispose()
释放该对象所占用的资源。double
getHeight()
返回三维图片几何对象的高度,单位为米。String
getImageFile()
返回三维图片几何对象所使用的图片文件的全路径。double
getWidth()
返回三维图片几何对象的宽度,单位为米。void
setHeight(double value)
设置三维图片几何对象的高度,单位为米。void
setImageFile(String value)
设置三维图片几何对象所使用的图片文件的全路径。void
setWidth(double value)
设置三维图片几何对象的宽度,单位为米。-
从类继承的方法 com.supermap.data.Geometry3D
convertToGeoModel3D, convertToGeoModel3D, convertToGeoModel3D, getBoundingBox, getGeoModel, getInnerPoint3D, getOrientedBoundingBox, getPosition, getRotationX, getRotationY, getRotationZ, getScaleX, getScaleY, getScaleZ, getStyle3D, getVolume, offset, setPosition, setRotationX, setRotationY, setRotationZ, setScaleX, setScaleY, setScaleZ, setStyle3D
-
-
-
-
构造器详细资料
-
GeoPicture3D
public GeoPicture3D()
构造一个新的 GeoPicture3D 对象。
-
GeoPicture3D
public GeoPicture3D(GeoPicture3D geoPicture3D)
根据给定的 GeoPicture3D 对象构造一个与其完全相同的新对象。- 参数:
geoPicture3D
- 指定的 GeoPicture3D 对象。
-
GeoPicture3D
public GeoPicture3D(String imageFile, Point3D position, double width, double height, double rotationZ)
根据指定的参数来构造一个 GeoPicture3D 的新对象。- 参数:
imageFile
- 指定的三维图片几何对象所使用的图片文件的全路径。position
- 指定的三维图片几何对象的位置。width
- 指定的三维图片几何对象的宽度(旋转前的),单位为米。height
- 指定的三维图片几何对象的高度(旋转前的),单位为米。rotationZ
- 指定的三维图片几何对象的绕Z轴的旋转角度,单位为度。
-
-
方法详细资料
-
getWidth
public double getWidth()
返回三维图片几何对象的宽度,单位为米。- 返回:
- 三维图片几何对象的宽度。单位为米。
- 默认值:
- 默认值为 1.0,单位为米。
-
setWidth
public void setWidth(double value)
设置三维图片几何对象的宽度,单位为米。- 参数:
value
- 三维图片几何对象的宽度。单位为米。
-
getHeight
public double getHeight()
返回三维图片几何对象的高度,单位为米。- 返回:
- 三维图片几何对象的高度。单位为米。
- 默认值:
- 默认值为 1.0,单位为米。
-
setHeight
public void setHeight(double value)
设置三维图片几何对象的高度,单位为米。- 参数:
value
- 三维图片几何对象的高度。单位为米。
-
getImageFile
public String getImageFile()
返回三维图片几何对象所使用的图片文件的全路径。- 返回:
- 三维图片几何对象所使用的图片文件的全路径。
- 默认值:
- 默认值为一个空的字符串。
-
setImageFile
public void setImageFile(String value)
设置三维图片几何对象所使用的图片文件的全路径。- 参数:
value
- 三维图片几何对象所使用的图片文件的全路径。
-
clone
public GeoPicture3D clone()
从类复制的说明:Geometry
克隆一个Geometry对象。
-
dispose
public void dispose()
从类复制的说明:Geometry
释放该对象所占用的资源。当调用该方法之后,此对象不再可用。- 指定者:
dispose
在接口中IDisposable
- 指定者:
dispose
在类中Geometry
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.