Fill the intersection area of three circles: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 41: | Line 41: | ||
// Create | // Create three arcs surrounding the intersection area | ||
var c1 = brd.create('arc', [p1, i1, i3], {visible:true}); | var c1 = brd.create('arc', [p1, i1, i3], {visible:true}); | ||
var c2 = brd.create('arc', [p3, i3, i2], {visible:true}); | //var c2 = brd.create('arc', [p3, i3, i2], {visible:true}); | ||
var c3 = brd.create('arc', [p5, i2, i1], {visible:true}); | //var c3 = brd.create('arc', [p5, i2, i1], {visible:true}); | ||
// Join the two arcs and fill the area. | // Join the two arcs and fill the area. |