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 42: | Line 42: | ||
// Create two arcs surrounding the intersection area | // Create two arcs surrounding the intersection area | ||
var c1 = brd.create('arc', [p1, i1, i2], {visible:true}); | var c1 = brd.create('arc', [p1, i1, i3], {visible:true}); | ||
var | var c2 = brd.create('arc', [p3, i3, i2], {visible:true}); | ||
var c3 = brd.create('arc', [p3, i2, i1], {visible:true}); | |||
// Join the two arcs and fill the area. | // Join the two arcs and fill the area. |