How to use the pts.Line.intersectLine2D function in pts

To help you get started, we’ve selected a few pts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github williamngan / pts-react-example / neutrino_example / src / PtsExamples.jsx View on Github external
let intersects = bars.map( (b, i) => {
      this.form.stroke("#123",w-1).line( bars[i]  );
      return Line.intersectLine2D( b, line )
    });
github williamngan / pts-react-example / src / PtsChart.jsx View on Github external
let intersects = bars.map( (b, i) => {
        this.form.stroke("#123",w-1).line( bars[i]  );
        return Line.intersectLine2D( b, line )
      });