GeoSphere

new SuperMap3D.GeoSphere(radius)

3D sphere geometry object class.
Name Type Description
radius Number The radius of the 3D sphere, unit: meter.

Members

geoRadius : Number

Get or set the radius of the 3D sphere, unit: meter.
Default Value: 0.0

Methods

getCenter()Number

Get the center point of the sphere geometry object.
Returns:
The geographic coordinate value of the center point of the sphere geometric object.

isValid()Boolean

Get whether the sphere geometry object is valid.
Returns:
Returns true if the sphere geometry object is valid, false otherwise.