Two reflections I (parallel lines): Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 6: Line 6:
       C = board.create('point', [-2, 2], {withLabel:false}),
       C = board.create('point', [-2, 2], {withLabel:false}),
       s = board.create('line',[A,B], {name:'s', withLabel:true}),
       s = board.create('line',[A,B], {name:'s', withLabel:true}),
       t = board.create('parallel',[s,C], {name:'t', withLabel:true});
       t = board.create('parallel',[s,C], {name:'t', withLabel:true}),
 
      P1 = board.create('point', [0,-3], {name:'P_1'}),
      Ss = board.create('transform', [s], {type:'reflect'}),
      St = board.create('transform', [t], {type:'reflect'}),
      P2 = board.create('point', [P1, Ss], {name:'P_2'}),
      P3 = board.create('point', [P2, St], {name:'P_3'});
})();
})();
</jsxgraph>
</jsxgraph>

Revision as of 12:10, 29 November 2011

The JavaScript code