Skip to content

"angle"

Niclas17 edited this page Jun 20, 2022 · 36 revisions

[ "angle", "name", [xc, yc], [xs,ys], radius, angle ]

angular dimension consisting of two radial lines, arc and label.

Right Angle

[ "angle", ".", [xc, yc], [xs,ys], radius, (-)90 ]

symbol for right angle (dot inside arc)

image

[  
  [ "grid", "x","y", -5,5,-4,5, 50, [10,10], [0,0] ],
  ["angle", ".", [2,-2],[3,-2],0.4,90],
  ["point", "C", [2,-2]],
  ["point", "S", [3,-2]]
]



Single Arrow Angle

[ "angle1", "name", [xc, yc], [xs,ys], radius, angle ]

version with single arrow

image

[  
  [ "grid", "x","y", -5,5,-4,5, 50, [10,10], [0,0] ],
  ["angle1", ".", [2,-2],[3,-2],0.4,45],
  ["point", "C", [2,-2]],
  ["point", "S", [3,-2]]
]



[ "angle2", "name", [xc, yc], [xs,ys], radius, angle ]

version with two arrows

image

[  
  [ "grid", "x","y", -5,5,-4,5, 50, [10,10], [0,0] ],
  ["angle2", ".", [2,-2],[3,-2],0.4,60],
  ["point", "C", [2,-2]],
  ["point", "S", [3,-2]],
  ["point", "R", [2.4,-2]]
]



  • "name" label text, typeset in MathJax math mode
  • [xc, yc] center point
  • [xs,ys] end point of radial baseline
  • angle angle in °, counterclockwise from base line.

image

[  
  [ "grid", "x","y", -5,5,-4,5, 50, [10,10], [0,0] ],
  ["angle", ".", [2,-2],[3,-2],0.4,90],
  ["point", "C", [2,-2]],
  ["point", "S", [3,-2]]
]

Tryout Space

In order to try code snippets in jsfiddle,

  1. copy the code from the wiki page to the clipboard
  2. follow the link for the JSXGraph version you want to try
  3. Replace the code in the HTML section (contents of <p hidden id="init">) with the content of the clipboard
Clone this wiki locally