Trace curve: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
var p = brd.create('polygon', [A, B, C]); | var p = brd.create('polygon', [A, B, C]); | ||
var s1 = brd.create('perpendicular', [p.borders[0], C], {dash:3, strokeWidth:1}); | |||
var s2 = brd.create('perpendicular', [p.borders[1], A], {dash:3, strokeWidth:1}); | |||
var s3 = brd.create('perpendicular', [p.borders[2], B], {dash:3, strokeWidth:1}); | |||
var s1 = brd.create('perpendicular', [p.borders[0], C], {dash: | |||
var s2 = brd.create('perpendicular', [p.borders[1], A], {dash: | |||
var s3 = brd.create('perpendicular', [p.borders[2], B], {dash: | |||
var | var S = brd.create('intersection', [s1, s2, 0], {name:'S', trace:true}); | ||
var curve = brd.create('trace', [C, S]); | |||
</jsxgraph> | </jsxgraph> | ||
[[Category:Examples]] | [[Category:Examples]] |