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

Method max

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

* @function LevelRenderer.Tool.Vector.prototype.max * @description 求两个向量最大值。 * * @param {Vector2} out - 基础向量。 * @param {Vector2} v1 - 向量 v1。 * @param {Vector2} v2 - 向量 v2。 * @return {Vector2} 结果。

(out, v1, v2)

Source from the content-addressed store, hash-verified

303 * @return {Vector2} 结果。
304 */
305 max(out, v1, v2) {
306 out[0] = Math.max(v1[0], v2[0]);
307 out[1] = Math.max(v1[1], v2[1]);
308 return out;
309 }
310
311
312 /**

Callers 15

arcMethod · 0.95
UFunction · 0.80
hFunction · 0.80
VectorSpec.jsFile · 0.80
constructorMethod · 0.80
getExtentMethod · 0.80
constructorMethod · 0.80
getExtentMethod · 0.80
createMapOptionsFunction · 0.80
queryRenderedFeaturesMethod · 0.80
getDefaultExtentMethod · 0.80
_getPixelBboxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected