com.supermap.data
Class GeoBox
- java.lang.Object
- 
- com.supermap.data.Geometry
- 
- com.supermap.data.Geometry3D
- 
- com.supermap.data.GeoBox
 
 
 
- 
 
 public class GeoBox extends Geometry3D ????????,??? Geometry3D ???????????????????,??? Geometry3D??
- 
- 
Constructor SummaryConstructors Constructor and Description GeoBox()Constructs a new GeoBox object.GeoBox(GeoBox geoBox)Initializes a new instance of the Route class which is a copy of the specified GeoBox object.GeoBox(Point3D position, Size2D bottomSize, double height)Creates a new GeoBox object according to the specified arguments.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method and Description GeoBoxclone()return the current GeoBox objectvoiddispose()Release the resource occupy by this object.Size2DgetBottomSize()obtains or sets the size of the bottom of the cuboid, the default value is null.Point3DgetCenter()obtains the center point of the cuboid geometry object, the default is nulldoublegetHeight()obtains or sets the height of the cuboid geometry object, that is the length in Z axis, the unit is meter, and the default is 0.0voidsetBottomSize(Size2D value)obtains or sets the size of the bottom of the cuboidvoidsetHeight(double value)obtains or sets the height of the cuboid geometry object, that is the length in Z axis, the unit is meter- 
Methods inherited from class com.supermap.data.Geometry3DgetGeoModel, getInnerPoint3D, getPosition, getRotationX, getRotationY, getRotationZ, getScaleX, getScaleY, getScaleZ, getStyle3D, getVolume, offset, setPosition, setRotationX, setRotationY, setRotationZ, setScaleX, setScaleY, setScaleZ, setStyle3D
 
- 
 
- 
- 
- 
Constructor Detail- 
GeoBoxpublic GeoBox() Constructs a new GeoBox object.
 - 
GeoBoxpublic GeoBox(GeoBox geoBox) Initializes a new instance of the Route class which is a copy of the specified GeoBox object.- Parameters:
- geoBox- the specified GeoBox object
 
 - 
GeoBoxpublic GeoBox(Point3D position, Size2D bottomSize, double height) Creates a new GeoBox object according to the specified arguments.- Parameters:
- position- The position of the cuboid geometry object
- bottomSize- The size of the bottom surface of the cuboid geometry object
- height- The height of the cuboid geometry object, the unit is meters
 
 
- 
 - 
Method Detail- 
getCenterpublic Point3D getCenter() obtains the center point of the cuboid geometry object, the default is null- Returns:
- obtains the center point of the cuboid geometry object
- Default:
- The default value is null.
 
 - 
getHeightpublic double getHeight() obtains or sets the height of the cuboid geometry object, that is the length in Z axis, the unit is meter, and the default is 0.0- Returns:
- obtains or sets the height of the cuboid geometry object, that is the length in Z axis, the unit is meter
- Default:
- The default value is 0.0.
 
 - 
setHeightpublic void setHeight(double value) obtains or sets the height of the cuboid geometry object, that is the length in Z axis, the unit is meter- Parameters:
- value- the height of the cuboid geometry object
 
 - 
getBottomSizepublic Size2D getBottomSize() obtains or sets the size of the bottom of the cuboid, the default value is null.- Returns:
- obtains or sets the size of the bottom of the cuboid
- Default:
- The default value is null.
 
 - 
setBottomSizepublic void setBottomSize(Size2D value) obtains or sets the size of the bottom of the cuboid- Parameters:
- value- the size of the bottom of the cuboid
 
 - 
clonepublic GeoBox clone() return the current GeoBox object
 
- 
 
-