MCPcopy Index your code
hub / github.com/plotly/plotly.js / splitHulls

Function splitHulls

stackgl_modules/index.js:8548–8556  ·  view source on GitHub ↗
(hulls, points, event)

Source from the content-addressed store, hash-verified

8546}
8547
8548function splitHulls(hulls, points, event) {
8549 var splitIdx = bsearch.le(hulls, event, findSplit)
8550 var hull = hulls[splitIdx]
8551 var upperIds = hull.upperIds
8552 var x = upperIds[upperIds.length-1]
8553 hull.upperIds = [x]
8554 hulls.splice(splitIdx+1, 0,
8555 new PartialHull(event.a, event.b, event.idx, [x], upperIds))
8556}
8557
8558
8559function mergeHulls(hulls, points, event) {

Callers 1

monotoneTriangulateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…