Intersection of functiongraphs: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 23: Line 23:
     curve2.numberPoints += 2;
     curve2.numberPoints += 2;


     var a = JXG.Math.Clip.intersection(curve1, curve2, this.board);
     var a = JXG.Math.Clip.greinerHormann(curve1, curve2, 'intersection', this.board);
     this.dataX = a[0];
     this.dataX = a[0];
     this.dataY = a[1];
     this.dataY = a[1];

Revision as of 09:33, 28 March 2020

The underlying JavaScript code