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

Method lengthSquare

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

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

(v)

Source from the content-addressed store, hash-verified

328 * @return {number} 向量长度平方。
329 */
330 lengthSquare(v) {
331 return this.lenSquare(v);
332 }
333
334 /**
335 * @function LevelRenderer.Tool.Vector.prototype.dist

Callers 1

VectorSpec.jsFile · 0.80

Calls 1

lenSquareMethod · 0.95

Tested by

no test coverage detected