MPoint3D

A position in space defined by longitude, latitude, and altitude.

new SuperMap3D.MPoint3D(x, y, z)

Name Type Default Description
x Number 0.0 optional Longitude in degrees.
y Number 0.0 optional Latitude in degrees.
z Number 0.0 optional Height in meters.

Members

x : Number

Longitude in degrees.
Default Value: 0.0

y : Number

Latitude in degrees.
Default Value: 0.0

z : Number

The height of the ellipsoid in meters.
Default Value: 0.0

Methods

staticSuperMap3D.MPoint3D.clone(plotPoint3D, result)MPoint3D

Clone
Name Type Description
plotPoint3D MPoint3D The object to be copied.
result MPoint3D optional The object used to store the result.
Returns:
The modified result argument, if not provided, returns a new PlotPoint3D instance; If the provided PlotPoint3D coordinates are undefined, undefined is returned.

staticSuperMap3D.MPoint3D.equals(left, right)Boolean

Determines whether objects 1 and 2 are equal
Name Type Description
left MPoint3D optional Object 1
right MPoint3D optional Object 2
Returns:
Return true if equal, false otherwise

equals(right)Boolean

Determines whether the object is equal to the current object
Name Type Description
right MPoint3D The object being judged
Returns:
Return true if equal, false otherwise

toString()String

Creates a string representing the map in '(longitude, latitude, height)' format.
Returns:
A string representing a map in the format '(longitude, latitude, height)'.