The altitude [m] of the point.
The latitude [deg] of the point.
The longitude [deg] of the point.
Make a Point by adding Correction.
Returns a MeshCell containing this
in.
The result is independent of altitude
.
The mesh unit
const point = new Point(36.10377479, 140.087855041, 5.0);
// prints:
// MeshCell(
// southWest=MeshNode(
// latitude=MeshCoord(first=54, second=1, third=2),
// longitude=MeshCoord(first=40, second=0, third=7)
// ),
// southEast=MeshNode(
// latitude=MeshCoord(first=54, second=1, third=2),
// longitude=MeshCoord(first=40, second=0, third=8)
// ),
// northWest=MeshNode(
// latitude=MeshCoord(first=54, second=1, third=3),
// longitude=MeshCoord(first=40, second=0, third=7)
// ),
// northEast=MeshNode(
// latitude=MeshCoord(first=54, second=1, third=3),
// longitude=MeshCoord(first=40, second=0, third=8)
// ),
// meshUnit=1
// )
console.log(point.meshCell(1));
Returns the nearest south-east MeshNode of this
The result is independent of altitude
.
The mesh unit
const point = new Point(36.10377479, 140.087855041, 5.0);
// prints:
// MeshNode(
// latitude=MeshCoord(first=54, second=1, third=2),
// longitude=MeshCoord(first=40, second=0, third=7)
// )
console.log(point.meshNode(1));
// prints:
// MeshNode(
// latitude=MeshCoord(first=54, second=1, third=0),
// longitude=MeshCoord(first=40, second=0, third=5)
// )
console.log(point.meshNode(5));
Returns true
is other
is not equal to this
.
The other Point
Make a Point by substracting Correction.
Returns a meshcode represents the nearest south-east mesh node of this
.
The result is independent of altitude
.
The mesh unit
Static
fromStatic
from
Represents a position on the Earth, a triplet latitude, longitude and altitude.
Example