com.supermap.data
类 GeoTruncatedCone

java.lang.Object
  继承者 com.supermap.data.Geometry
      继承者 com.supermap.data.Geometry3D
          继承者 com.supermap.data.GeoTruncatedCone

public class GeoTruncatedCone
extends Geometry3D

参数化对象-圆台体。


构造方法摘要
GeoTruncatedCone()
          构造一个新的 GeoTruncatedCone 对象。
GeoTruncatedCone(GeoTruncatedCone geoTruncatedCone)
          根据指定参数构造一个 GeoTruncatedCone 新对象。
GeoTruncatedCone(Point3D position, double bottomRaDius, double topRaDius, double height)
          根据指定参数构造一个 GeoTruncatedCone 新对象。
 
方法摘要
 GeoTruncatedCone clone()
          克隆一个GeoTruncatedCone对象。
 void dispose()
          释放对象所占资源。
 double getBottomRadius()
          获取圆台体底面半径。
 Point3D getCenter()
          获取圆台体的中心点坐标。
 double getHeight()
          获取圆台体圆台高度。
 double getTopRadius()
          获取圆台体顶面半径。
 double getTopXOffset()
          获取圆台体顶面圆心X偏移量。
 double getTopYOffset()
          获取圆台体顶面圆心Y偏移量。
 void setBottomRadius(double bottomRadius)
          设置圆台体底面半径。
 void setHeight(double height)
          设置圆台体圆台高度。
 void setTopRadius(double topRadius)
          设置圆台体顶面半径。
 void setTopXOffset(double topXOffset)
          设置圆台体顶面圆心X偏移量。
 void setTopYOffset(double topYOffset)
          设置圆台体顶面圆心Y偏移量。
 
从类 com.supermap.data.Geometry3D 继承的方法
convertToGeoModel3D, convertToGeoModel3D, getBoundingBox, getGeoModel, getInnerPoint3D, getPosition, getRotationX, getRotationY, getRotationZ, getScaleX, getScaleY, getScaleZ, getStyle, getStyle3D, getVolume, hitTest, mirror, offset, resize, rotate, setPosition, setRotationX, setRotationY, setRotationZ, setScaleX, setScaleY, setScaleZ, setStyle, setStyle3D
 
从类 com.supermap.data.Geometry 继承的方法
addCustomGeometryCreatedListener, fromXML, getBounds, getID, getInnerPoint, getType, getVariantID, isEmpty, offset, removeCustomGeometryCreatedListener, setEmpty, setID, toXML
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

GeoTruncatedCone

public GeoTruncatedCone()
构造一个新的 GeoTruncatedCone 对象。


GeoTruncatedCone

public GeoTruncatedCone(GeoTruncatedCone geoTruncatedCone)
根据指定参数构造一个 GeoTruncatedCone 新对象。

参数:
geoTruncatedCone - 指定的GeoTruncatedCone对象。

GeoTruncatedCone

public GeoTruncatedCone(Point3D position,
                        double bottomRaDius,
                        double topRaDius,
                        double height)
根据指定参数构造一个 GeoTruncatedCone 新对象。

参数:
position - 圆台体的中心点坐标。
bottomRaDius - 圆台体底面半径。
topRaDius - 圆台体顶面半径。
height - 圆台体圆台高度。
方法详细信息

clone

public GeoTruncatedCone clone()
克隆一个GeoTruncatedCone对象。

覆盖:
java.lang.Object 中的 clone

dispose

public void dispose()
释放对象所占资源。

覆盖:
Geometry 中的 dispose

getBottomRadius

public double getBottomRadius()
获取圆台体底面半径。

返回:
圆台体底面半径

setBottomRadius

public void setBottomRadius(double bottomRadius)
设置圆台体底面半径。

参数:
bottomRadius - 圆台体底面半径

getTopRadius

public double getTopRadius()
获取圆台体顶面半径。

返回:
圆台体顶面半径

setTopRadius

public void setTopRadius(double topRadius)
设置圆台体顶面半径。

参数:
topRadius - 圆台体顶面半径

getHeight

public double getHeight()
获取圆台体圆台高度。

返回:
圆台体圆台高度

setHeight

public void setHeight(double height)
设置圆台体圆台高度。

参数:
height - 圆台体圆台高度

getTopXOffset

public double getTopXOffset()
获取圆台体顶面圆心X偏移量。

返回:
圆台体顶面圆心X偏移量

setTopXOffset

public void setTopXOffset(double topXOffset)
设置圆台体顶面圆心X偏移量。

参数:
topXOffset - 圆台体顶面圆心X偏移量

getTopYOffset

public double getTopYOffset()
获取圆台体顶面圆心Y偏移量。

返回:
圆台体顶面圆心Y偏移量

setTopYOffset

public void setTopYOffset(double topYOffset)
设置圆台体顶面圆心Y偏移量。

参数:
topYOffset - 圆台体顶面圆心Y偏移量

getCenter

public Point3D getCenter()
获取圆台体的中心点坐标。

返回:
圆台体的中心点坐标