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

Function alignsWith

docs/app/js/sanddance-app.js:121967–121969  ·  view source on GitHub ↗
(b8)

Source from the content-addressed store, hash-verified

121965 return b7 && this.x1 <= b7.x1 && this.x2 >= b7.x2 && this.y1 <= b7.y1 && this.y2 >= b7.y2;
121966 },
121967 alignsWith (b8) {
121968 return b8 && (this.x1 == b8.x1 || this.x2 == b8.x2 || this.y1 == b8.y1 || this.y2 == b8.y2);
121969 },
121970 intersects (b9) {
121971 return b9 && !(this.x2 < b9.x1 || this.x1 > b9.x2 || this.y2 < b9.y1 || this.y1 > b9.y2);
121972 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected