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

Function Intersection

docs/tests/v2/es6/js/sanddance.js:113446–113456  ·  view source on GitHub ↗
(point, points, other, entry)

Source from the content-addressed store, hash-verified

113444function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
113445
113446function Intersection(point, points, other, entry) {
113447 this.x = point;
113448 this.z = points;
113449 this.o = other; // another intersection
113450
113451 this.e = entry; // is an entry?
113452
113453 this.v = false; // visited
113454
113455 this.n = this.p = null; // next & previous
113456} // A generalized polygon clipping algorithm: given a polygon that has been cut
113457// into its visible line segments, and rejoins the segments by interpolating
113458// along the clip edge.
113459

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected