GeoEllipsoid

new SuperMap3D.GeoEllipsoid(xAxis, yAxis, zAxis)

3D ellipsoid geometry object class.
Name Type Description
xAxis Number The length of the ellipsoid in the x-axis direction, unit: meter.
yAxis Number The length of the ellipsoid in the y-axis direction, unit: meter.
zAxis Number The length of the ellipsoid in the z-axis direction, unit: meter.

Members

geoXAxis : Number

Get or set the length of the ellipsoid in the x-axis direction, unit: meter.
Default Value: 0.0

geoYAxis : Number

Get or set the length of the ellipsoid in the y-axis direction, unit: meter.
Default Value: 0.0

geoZAxis : Number

Get or set the length of the ellipsoid in the z-axis direction, unit: meter.
Default Value: 0.0

Methods

getCenter()Number

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

isValid()Boolean

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