Difference between revisions of "Poincare disc model"

From JSXGraph Wiki
Jump to navigationJump to search
Line 6: Line 6:
 
var s1 = brd.create('intersection', [c,t,0], {withLabel:false});  
 
var s1 = brd.create('intersection', [c,t,0], {withLabel:false});  
 
var s2 = brd.create('intersection', [c,t,1], {withLabel:false});  
 
var s2 = brd.create('intersection', [c,t,1], {withLabel:false});  
var arc = brd.create('arc',[p,s1,s2]);
+
var arc = brd.create('arc',[p,s1,s2],{name:'g', withLabel:true});
  
var pp = brd.create('point',[1,2],{withLabel:false});
+
var pp = brd.create('point',[1,2],{withLabel:true,name:'P'});
 
var t = brd.create('polar', [c,pp], {visible:false});  
 
var t = brd.create('polar', [c,pp], {visible:false});  
 
var l = brd.create('line', [[0,0],pp], {visible:false});  
 
var l = brd.create('line', [[0,0],pp], {visible:false});  
Line 24: Line 24:
 
var arc = brd.create('circumcirclearc',[s1,pp,s2], {trace:true});
 
var arc = brd.create('circumcirclearc',[s1,pp,s2], {trace:true});
 
</jsxgraph>
 
</jsxgraph>
 +
 +
[[Category:Geometry]]
 +
[[Category:Examples]]

Revision as of 17:48, 21 July 2010