MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / length

Method length

src/common/overlay/levelRenderer/Vector.js:319–321  ·  view source on GitHub ↗

* @function LevelRenderer.Tool.Vector.prototype.length * @description 向量长度。 * * @param {Vector2} v - 向量。 * @return {number} 向量长度。

(v)

Source from the content-addressed store, hash-verified

317 * @return {number} 向量长度。
318 */
319 length(v) {
320 return this.len(v);
321 }
322
323 /**
324 * @function LevelRenderer.Tool.Vector.prototype.lengthSquare

Callers 3

VectorSpec.jsFile · 0.80
SuFunction · 0.80
MuFunction · 0.80

Calls 1

lenMethod · 0.95

Tested by

no test coverage detected