Angle: Difference between revisions

From JSXGraph Wiki
(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]), ...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
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}),
    beta = brd.create('angle', [C,B,A], {type:'sector', orthoType:'sectordot', orthoSensitivity:2, radius:0.2});
</jsxgraph>
</jsxgraph>


Line 14: Line 15:
     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}),
    beta = brd.create('angle', [C,B,A], {type:'sector', orthoType:'sectordot', orthoSensitivity:2, radius:0.2});
</source>
</source>


[[Category:Examples]]
[[Category:Examples]]

Latest revision as of 15:54, 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}),
    beta = brd.create('angle', [C,B,A], {type:'sector', orthoType:'sectordot', orthoSensitivity:2, radius:0.2});