Class: GeoSphere

GeoSphere

new GeoSphere(radius)

三维球体几何对象类。

Name Type Description
radius number

三维球体的半径,单位:米。

Members

geoRadiusnumber

获取或设置三维球体的半径,单位:米。

Default Value:
0.0

Methods

getCenter(){Point3D}

获取球体几何对象的中心点。

Returns:
Type Description
Point3D 球体几何对象的中心点地理坐标值。

isValid(){boolean}

获取球体几何对象是否有效。

Returns:
Type Description
boolean 如果球体几何对象有效则返回 true,否则返回 false。