MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / cos

Method cos

src/common/overlay/levelRenderer/Math.js:41–43  ·  view source on GitHub ↗

* @function LevelRenderer.Tool.Math.prototype.cos * @description 余弦函数。 * @param {number} angle - 弧度(角度)参数。 * @param {boolean} [isDegrees=false] - angle参数是否为角度计算,angle为以弧度计量的角度。 * @returns {number} cos 值。

(angle, isDegrees)

Source from the content-addressed store, hash-verified

39 * @returns {number} cos 值。
40 */
41 cos(angle, isDegrees) {
42 return window.Math.cos(isDegrees ? angle * this._radians : angle);
43 }
44
45 /**
46 * @function LevelRenderer.Tool.Math.prototype.degreeToRadian

Callers 15

olms.jsFile · 0.80
toRotationMatrixMethod · 0.80
getRotatedLocationMethod · 0.80
jquery.jsFile · 0.80
LabelThemeLayer.jsFile · 0.80
CloverStyle.jsFile · 0.80
calculateCircleMethod · 0.80
Transform.jsFile · 0.80
locationCameraMethod · 0.80
arcMethod · 0.80
getRotatedLocationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected