com.supermap.data
类 GeoExtrudedBody

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

public class GeoExtrudedBody
extends Geometry3D

参数化对象-拉伸体


构造方法摘要
GeoExtrudedBody()
          构造一个新的 GeoExtrudedBody 对象。
GeoExtrudedBody(GeoExtrudedBody geoExtrudedBody)
          根据指定参数构建一个 GeoExtrudedBody 新对象。
GeoExtrudedBody(Point3D position, Point3Ds bottomRegion, Point3D extrudedDirection, double extrudedLength)
          根据指定参数构建一个 GeoExtrudedBody 新对象。
 
方法摘要
 GeoExtrudedBody clone()
          返回一个 Geometry 实例的拷贝。
 void dispose()
          释放对象所占资源。
 Point3Ds getBottomRegion()
          获取拉伸体的拉伸底面。
 Point3D getCenter()
          获取拉伸体的中心点坐标。
 Point3D getExtrudedDirection()
          获取拉伸体的拉伸方向。
 double getExtrudedLength()
          获取拉伸体的拉伸长度。
 void setBottomRegion(Point3Ds p3ds)
          设置拉伸体的拉伸底面。
 void setExtrudedDirection(Point3D p3d)
          设置拉伸体的拉伸方向。
 void setExtrudedLength(double length)
          设置拉伸体的拉伸长度。
 
从类 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
 

构造方法详细信息

GeoExtrudedBody

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


GeoExtrudedBody

public GeoExtrudedBody(GeoExtrudedBody geoExtrudedBody)
根据指定参数构建一个 GeoExtrudedBody 新对象。

参数:
geoExtrudedBody - 指定的GeoExtrudedBody对象。

GeoExtrudedBody

public GeoExtrudedBody(Point3D position,
                       Point3Ds bottomRegion,
                       Point3D extrudedDirection,
                       double extrudedLength)
根据指定参数构建一个 GeoExtrudedBody 新对象。

参数:
position - 拉伸体的中心点坐标。
bottomRegion - 拉伸底面。
extrudedDirection - 拉伸方向。
extrudedLength - 拉伸长度。
方法详细信息

clone

public GeoExtrudedBody clone()
返回一个 Geometry 实例的拷贝。

覆盖:
java.lang.Object 中的 clone

dispose

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

覆盖:
Geometry 中的 dispose

getBottomRegion

public Point3Ds getBottomRegion()
获取拉伸体的拉伸底面。

返回:
拉伸体的拉伸底面

setBottomRegion

public void setBottomRegion(Point3Ds p3ds)
设置拉伸体的拉伸底面。

参数:
p3ds - 拉伸体的拉伸底面

getExtrudedDirection

public Point3D getExtrudedDirection()
获取拉伸体的拉伸方向。

返回:
拉伸体的拉伸方向

setExtrudedDirection

public void setExtrudedDirection(Point3D p3d)
设置拉伸体的拉伸方向。

参数:
p3d - 拉伸体的拉伸方向

getExtrudedLength

public double getExtrudedLength()
获取拉伸体的拉伸长度。

返回:
拉伸体的拉伸长度

setExtrudedLength

public void setExtrudedLength(double length)
设置拉伸体的拉伸长度。

参数:
length - 拉伸体的拉伸长度

getCenter

public Point3D getCenter()
获取拉伸体的中心点坐标。

返回:
拉伸体的中心点坐标