Trace curve: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 12: Line 12:
var M2 = brd.create('midpoint', [A, C], {withLabel:false});
var M2 = brd.create('midpoint', [A, C], {withLabel:false});
var M3 = brd.create('midpoint', [B, C], {withLabel:false});
var M3 = brd.create('midpoint', [B, C], {withLabel:false});
var s1 = brd.create('perpendicular', [g, M1]);
var s1 = brd.create('perpendicular', [p.borders[0], M1]);
var s1 = brd.create('perpendicular', [p.borders[1], M2]);
var s2 = brd.create('perpendicular', [p.borders[1], M2]);
var s3 = brd.create('line', [A, M3]);
var s3 = brd.create('perpendicular', [p.borders[2], M3]);


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

Revision as of 11:58, 22 June 2012