Difference between revisions of "Trace curve"

From JSXGraph Wiki
Jump to navigationJump to search
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', [p.borders[0], C]);
+
var s1 = brd.create('perpendicular', [p.borders[0], C], {dash:1, strokeWidth:1});
var s2 = brd.create('perpendicular', [p.borders[1], A]);
+
var s2 = brd.create('perpendicular', [p.borders[1], A], {dash:1, strokeWidth:1});
var s3 = brd.create('perpendicular', [p.borders[2], B]);
+
var s3 = brd.create('perpendicular', [p.borders[2], B], {dash:1, strokeWidth:1});
  
 
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 14:00, 22 June 2012