Trace curve: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
var g = brd.create('line', [A,B], {visible:false}); | var g = brd.create('line', [A,B], {visible:false}); | ||
var h = brd.create('parallel', [g, C0], {visible:true}); | var h = brd.create('parallel', [g, C0], {visible:true}); | ||
var C = brd.create('glider', [ | var C = brd.create('glider', [-1.5, 1.0, h], {name:'C'}); | ||
var p = brd.create('polygon', [A, B, C]); | var p = brd.create('polygon', [A, B, C]); | ||
Line 13: | Line 13: | ||
var s3 = brd.create('perpendicular', [p.borders[2], B], {dash:3, strokeWidth:1}); | var s3 = brd.create('perpendicular', [p.borders[2], B], {dash:3, strokeWidth:1}); | ||
var S = brd.create('intersection', [s1, s2, 0], {name:'S', trace: | var S = brd.create('intersection', [s1, s2, 0], {name:'S', trace:false}); | ||
var curve = brd.create('tracecurve', [C, S]); | var curve = brd.create('tracecurve', [C, S]); | ||