MCPcopy Create free account
hub / github.com/Sioxas/data-screen / cubicProjectPoint

Function cubicProjectPoint

src/utils/echarts-liquidfill.js:8374–8442  ·  view source on GitHub ↗

* 投射点到三次贝塞尔曲线上,返回投射距离。 * 投射点有可能会有一个或者多个,这里只返回其中距离最短的一个。 * @param {number} x0 * @param {number} y0 * @param {number} x1 * @param {number} y1 * @param {number} x2 * @param {number} y2 * @param {number} x3 * @param {number} y3 * @param {number

(
	        x0, y0, x1, y1, x2, y2, x3, y3,
	        x, y, out
	    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

cubicAtFunction · 0.85

Tested by

no test coverage detected