Skip to content

"angle2"

mkraska edited this page Aug 13, 2022 · 3 revisions

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

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

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

See also "angle" and "angle1" for versions with no or just one arrow.

Example

image

[  
  [ "grid", "x","y", -5,5,-4,5, 50, [10,10], [0,0] ],
  ["angle2", "\\alpha", [2,-2],[3,-2],0.6,45],
  ["point", "C", [2,-2], 15],
  ["point", "S", [3,-2]], 
  ["dim", "r", [2,-2],[2.6,-2],-0.6 ]
]

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