المشاركات

اسكريبت جافا آخر

  Source: geographiclib-geodesic/src/Geodesic.js https://geographiclib.sourceforge.io/JavaScript/doc/geographiclib-geodesic_src_Geodesic.js.html /* * Geodesic.js * Transcription of Geodesic.[ch]pp into JavaScript. * * See the documentation for the C++ class. The conversion is a literal * conversion from C++. * * The algorithms are derived in * * Charles F. F. Karney, * Algorithms for geodesics, J. Geodesy 87, 43-55 (2013); * https://doi.org/10.1007/s00190-012-0578-z * Addenda: https://geographiclib.sourceforge.io/geod-addenda.html * * Copyright (c) Charles Karney (2011-2022) <karney@alum.mit.edu> and licensed * under the MIT/X11 License. For more information, see * https://geographiclib.sourceforge.io/ */ // Load AFTER Math.js // To allow swap via [y, x] = [x, y] /* jshint esversion: 6 */ geodesic . Geodesic = {}; geodesic . GeodesicLine = {}; geodesic . PolygonArea = {}; ( function ( /** * @exports geodesic/Geodesic * @description...