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

Function isInside

src/plots/polar/helpers.js:139–141  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

137 }
138
139 function isInside(v) {
140 return isAngleInsideSector(v, [a0, a1]);
141 }
142
143 // find index in sector closest to a0
144 // use it to find intersection of v[i0] <-> v[i0-1] edge with sector radius

Callers 1

makeClippedPolygonFunction · 0.85

Calls 1

isAngleInsideSectorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…