MCPcopy Create free account
hub / github.com/plotly/plotly.js / alphaComplex

Function alphaComplex

stackgl_modules/index.js:1861–1869  ·  view source on GitHub ↗
(alpha, points)

Source from the content-addressed store, hash-verified

1859var circumradius = __webpack_require__(6037)
1860
1861function alphaComplex(alpha, points) {
1862 return delaunay(points).filter(function(cell) {
1863 var simplex = new Array(cell.length)
1864 for(var i=0; i<cell.length; ++i) {
1865 simplex[i] = points[cell[i]]
1866 }
1867 return circumradius(simplex) * alpha < 1
1868 })
1869}
1870
1871/***/ }),
1872

Callers

nothing calls this directly

Calls 1

circumradiusFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…