Difference between revisions of "Fill the intersection area of three circles"

From JSXGraph Wiki
Jump to: navigation, search
Line 7: Line 7:
 
         c.updateDataArray = function() {
 
         c.updateDataArray = function() {
 
             var i, le = curves.length;
 
             var i, le = curves.length;
 +
 
             // The three paths have to be connected
 
             // The three paths have to be connected
 
             this.dataX = [];
 
             this.dataX = [];
Line 23: Line 24:
 
                 this.bezierDegree = 1;
 
                 this.bezierDegree = 1;
 
             } else {
 
             } else {
                 this.bezierDegree = cu1.bezierDegree;
+
                 this.bezierDegree = curves[0].bezierDegree;
 
             }
 
             }
 
         };
 
         };

Revision as of 11:13, 15 August 2017

The underlying JavaScript code