MCPcopy Create free account
hub / github.com/microsoft/SandDance / _getRelativeRectEdgeValue

Function _getRelativeRectEdgeValue

docs/app/js/sanddance-app.js:31789–31791  ·  view source on GitHub ↗
(edge, rect)

Source from the content-addressed store, hash-verified

31787 else return value * -1;
31788}
31789function _getRelativeRectEdgeValue(edge, rect) {
31790 return _getRelativeEdgeValue(edge, _getEdgeValue(rect, edge));
31791}
31792function _getRelativeEdgeDifference(rect, hostRect, edge) {
31793 var edgeDifference = _getEdgeValue(rect, edge) - _getEdgeValue(hostRect, edge);
31794 return _getRelativeEdgeValue(edge, edgeDifference);

Callers 2

_isEdgeInBoundsFunction · 0.85
_positionBeakFunction · 0.85

Calls 2

_getRelativeEdgeValueFunction · 0.85
_getEdgeValueFunction · 0.85

Tested by

no test coverage detected