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

Function angleDist

src/lib/angles.js:46–48  ·  view source on GitHub ↗

* angular distance between angle 'a' and 'b' * * @param {number} a : first angle in *radians* * @param {number} b : second angle in *radians* * @return {number} angular distance in *radians*

(a, b)

Source from the content-addressed store, hash-verified

44 * @return {number} angular distance in *radians*
45 */
46function angleDist(a, b) {
47 return Math.abs(angleDelta(a, b));
48}
49
50/**
51 * is angle inside sector?

Callers 1

makeClippedPolygonFunction · 0.85

Calls 1

angleDeltaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…