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

Method sin

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

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

(angle, isDegrees)

Source from the content-addressed store, hash-verified

28 * @returns {number} sin 值。
29 */
30 sin(angle, isDegrees) {
31 return window.Math.sin(isDegrees ? angle * this._radians : angle);
32 }
33
34 /**
35 * @function LevelRenderer.Tool.Math.prototype.cos

Callers 15

olms.jsFile · 0.80
toRotationMatrixMethod · 0.80
getRotatedLocationMethod · 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
cubicRootAtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected