Trace curve: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 9: Line 9:
var p = brd.create('polygon', [A, B, C]);
var p = brd.create('polygon', [A, B, C]);


var M1 = brd.create('midpoint', [A, B]);
var M1 = brd.create('midpoint', [A, B], {withLabel:false});
var M2 = brd.create('midpoint', [A, C]);
var M2 = brd.create('midpoint', [A, C], {withLabel:false});
var M3 = brd.create('midpoint', [B, C], {withLabel:false});
var s1 = brd.create('line', [C, M1]);
var s1 = brd.create('line', [C, M1]);
var s2 = brd.create('line', [B, M2]);
var s2 = brd.create('line', [B, M2]);
var s3 = brd.create('line', [A, M3]);


var s = brd.create('intersection', [s1, s2, 0]);
var s = brd.create('intersection', [s1, s2, 0], {name:'S', trace:true});


</jsxgraph>
</jsxgraph>


[[Category:Examples]]
[[Category:Examples]]

Revision as of 11:54, 22 June 2012