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

Function min

libs/echarts/echarts-en.simple.js:1132–1136  ·  view source on GitHub ↗

* 求两个向量最小值 * @param {Vector2} out * @param {Vector2} v1 * @param {Vector2} v2

(out, v1, v2)

Source from the content-addressed store, hash-verified

1130 * @param {Vector2} v2
1131 */
1132function min(out, v1, v2) {
1133 out[0] = Math.min(v1[0], v2[0]);
1134 out[1] = Math.min(v1[1], v2[1]);
1135 return out;
1136}
1137
1138/**
1139 * 求两个向量最大值

Callers 3

smoothBezierFunction · 0.70
getScaleExtentFunction · 0.70

Calls 1

minMethod · 0.80

Tested by

no test coverage detected