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

Function applyTransform

libs/echarts/echarts.simple.js:1118–1124  ·  view source on GitHub ↗

* 矩阵左乘向量 * @param {Vector2} out * @param {Vector2} v * @param {Vector2} m

(out, v, m)

Source from the content-addressed store, hash-verified

1116 * @param {Vector2} m
1117 */
1118function applyTransform(out, v, m) {
1119 var x = v[0];
1120 var y = v[1];
1121 out[0] = m[0] * x + m[2] * y + m[4];
1122 out[1] = m[1] * x + m[3] * y + m[5];
1123 return out;
1124}
1125
1126/**
1127 * 求两个向量最小值

Callers 4

echarts.simple.jsFile · 0.70
transformPathFunction · 0.70
applyTransform$1Function · 0.70
createTicksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected