GeoSphere

new Cesium.GeoSphere(radius)

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 3D sphere in meters.
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

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