Difference between revisions of "Poincare disc model"

From JSXGraph Wiki
Jump to navigationJump to search
Line 14: Line 14:
 
var A = brd.create('intersection', [l,t,0], {withLabel:true,visible:false});
 
var A = brd.create('intersection', [l,t,0], {withLabel:true,visible:false});
 
var M = brd.create('midpoint',[pp,A], {withLabel:true,visible:false});
 
var M = brd.create('midpoint',[pp,A], {withLabel:true,visible:false});
var perp = brd.create('perpendicular',[l,M], {name:'', withLabel:false, strokeColor:'gray', dash:1, straightFirst:true, straightLast:true});
+
var perp = brd.create('perpendicular', [l,M], {name:'', withLabel:false, strokeColor:'gray', dash:1, straightFirst:true, straightLast:true});
//perp.point.setProperty({'visible':true});
+
perp.perpendicularpoint.setProperty({'visible':true});
 
//perp.setProperty({straightFirst:true, straightLast:true});
 
//perp.setProperty({straightFirst:true, straightLast:true});
 
/*
 
/*

Revision as of 21:46, 7 July 2011

References

  • Chaim Goodman-Strauss, "Compass and Straightedge in the Poincare Disk", Am. Math. Monthly 108 (2001), 38-49.