Angle: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (Created page with "<jsxgraph width="600" height="600"> JXG.Options.point.zoom = true; var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-2,2,2,-2]}); var A = brd.create('point', [-1,-1]), ...") |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
B = brd.create('point', [1,-1]), | B = brd.create('point', [1,-1]), | ||
C = brd.create('point', [0,1]), | C = brd.create('point', [0,1]), | ||
alpha = brd.create('angle', [B,A,C], {type:'sector', orthoType:'square, orthoSensitivity:2, radius:0.5}); | alpha = brd.create('angle', [B,A,C], {type:'sector', orthoType:'square', orthoSensitivity:2, radius:0.5}); | ||
</jsxgraph> | </jsxgraph> | ||
Line 14: | Line 14: | ||
B = brd.create('point', [1,-1]), | B = brd.create('point', [1,-1]), | ||
C = brd.create('point', [0,1]), | C = brd.create('point', [0,1]), | ||
alpha = brd.create('angle', [B,A,C], {type:'sector', orthoType:'square, orthoSensitivity:2, radius:0.5}); | alpha = brd.create('angle', [B,A,C], {type:'sector', orthoType:'square', orthoSensitivity:2, radius:0.5}); | ||
</source> | </source> | ||
[[Category:Examples]] | [[Category:Examples]] |
Revision as of 15:52, 26 July 2012
The underlying JavaScript code
var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-2,2,2,-2]});
var A = brd.create('point', [-1,-1]),
B = brd.create('point', [1,-1]),
C = brd.create('point', [0,1]),
alpha = brd.create('angle', [B,A,C], {type:'sector', orthoType:'square', orthoSensitivity:2, radius:0.5});