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

Function removeNode

docs/app/js/sanddance-app.js:102105–102110  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

102103 return p;
102104}
102105function removeNode(p) {
102106 p.next.prev = p.prev;
102107 p.prev.next = p.next;
102108 if (p.prevZ) p.prevZ.nextZ = p.nextZ;
102109 if (p.nextZ) p.nextZ.prevZ = p.prevZ;
102110}
102111function Node(i, x, y) {
102112 this.i = i;
102113 this.x = x;

Callers 4

linkedListFunction · 0.70
filterPointsFunction · 0.70
earcutLinkedFunction · 0.70
cureLocalIntersectionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected