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

Function Intersection

docs/app/js/sanddance-app.js:132782–132789  ·  view source on GitHub ↗
(point, points, other, entry)

Source from the content-addressed store, hash-verified

132780var _pointEqualJsDefault = parcelHelpers.interopDefault(_pointEqualJs);
132781var _mathJs = require("../math.js");
132782function Intersection(point, points, other, entry) {
132783 this.x = point;
132784 this.z = points;
132785 this.o = other; // another intersection
132786 this.e = entry; // is an entry?
132787 this.v = false; // visited
132788 this.n = this.p = null; // next & previous
132789}
132790// A generalized polygon clipping algorithm: given a polygon that has been cut
132791// into its visible line segments, and rejoins the segments by interpolating
132792// along the clip edge.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected