1 line
828 KiB
Plaintext
1 line
828 KiB
Plaintext
|
{"version":3,"file":"Transforms-8b90e17c.js","sources":["../../../../Source/Core/GeographicProjection.js","../../../../Source/Core/Intersect.js","../../../../Source/Core/Interval.js","../../../../Source/Core/BoundingSphere.js","../../../../Source/Core/Fullscreen.js","../../../../Source/Core/FeatureDetection.js","../../../../Source/Core/Quaternion.js","../../../../Source/Core/binarySearch.js","../../../../Source/Core/EarthOrientationParametersSample.js","../../../../Source/Core/GregorianDate.js","../../../../Source/Core/isLeapYear.js","../../../../Source/Core/LeapSecond.js","../../../../Source/Core/TimeConstants.js","../../../../Source/Core/TimeStandard.js","../../../../Source/Core/JulianDate.js","../../../../Source/ThirdParty/Uri.js","../../../../Source/Core/appendForwardSlash.js","../../../../Source/Core/clone.js","../../../../Source/Core/getAbsoluteUri.js","../../../../Source/Core/getBaseUri.js","../../../../Source/Core/getExtensionFromUri.js","../../../../Source/Core/getImagePixels.js","../../../../Source/Core/isBlobUri.js","../../../../Source/Core/isCrossOriginUrl.js","../../../../Source/Core/isDataUri.js","../../../../Source/Core/loadAndExecuteScript.js","../../../../Source/Core/objectToQuery.js","../../../../Source/Core/queryToObject.js","../../../../Source/Core/RequestState.js","../../../../Source/Core/RequestType.js","../../../../Source/Core/Request.js","../../../../Source/Core/parseResponseHeaders.js","../../../../Source/Core/RequestErrorEvent.js","../../../../Source/Core/Event.js","../../../../Source/Core/Heap.js","../../../../Source/Core/RequestScheduler.js","../../../../Source/Core/TrustedServers.js","../../../../Source/Core/Resource.js","../../../../Source/Core/EarthOrientationParameters.js","../../../../Source/Core/HeadingPitchRoll.js","../../../../Source/Core/buildModuleUrl.js","../../../../Source/Core/Iau2006XysSample.js","../../../../Source/Core/Iau2006XysData.js","../../../../Source/Core/Transforms.js"],"sourcesContent":["import Cartesian3 from \"./Cartesian3.js\";\nimport Cartographic from \"./Cartographic.js\";\nimport defaultValue from \"./defaultValue.js\";\nimport defined from \"./defined.js\";\nimport DeveloperError from \"./DeveloperError.js\";\nimport Ellipsoid from \"./Ellipsoid.js\";\n\n/**\n * A simple map projection where longitude and latitude are linearly mapped to X and Y by multiplying\n * them by the {@link Ellipsoid#maximumRadius}. This projection\n * is commonly known as geographic, equirectangular, equidistant cylindrical, or plate carrée. It\n * is also known as EPSG:4326.\n *\n * @alias GeographicProjection\n * @constructor\n *\n * @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid.\n *\n * @see WebMercatorProjection\n */\nfunction GeographicProjection(ellipsoid) {\n this._ellipsoid = defaultValue(ellipsoid, Ellipsoid.WGS84);\n this._semimajorAxis = this._ellipsoid.maximumRadius;\n this._oneOverSemimajorAxis = 1.0 / this._semimajorAxis;\n}\n\nObject.defineProperties(GeographicProjection.prototype, {\n /**\n * Gets the {@link Ellipsoid}.\n *\n * @memberof GeographicProjection.prototype\n *\n * @type {Ellipsoid}\n * @readonly\n */\n ellipsoid: {\n get: function () {\n return this._ellipsoid;\n },\n },\n});\n\n/**\n * Projects a set of {@link Cartographic} coordinates, in radians, to map coordinates, in meters.\n * X and Y are the longitude and latitude, respectively, multiplied by the maximum radius of the\n * ellipsoid. Z is the unmodified height.\n *\n * @param {Cartographic} cartographic The coordinates to project.\n * @param {Cartesian3} [result] An instance into which to copy the result. If this parameter is\n * undefined, a new instance is created and returned.\n * @returns {Cartesian3} The projected coordinates. If the result parameter is not undefined, the\n * coordinates are copied there and that instance is returned. Otherwise, a new instance is\n * created and returned.\n */\nGeographicProjection.prototype.project = function (cartographic, result) {\n // Actually this is the special case of equidist
|