GeoSphere

new Cesium.GeoSphere(radius)

The 3D sphere geometry object class.
Name Type Description
radius Number The radius of the three-dimensional sphere, in meters.

Members

geoRadius : Number

Gets or sets the radius of the three-dimensional 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 geometry object.

isValid()Boolean

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