ReflexAngle

Element

A reflex angle is the instance of an angle that is larger than 180°. It is defined by a center, one point that defines the radius, and a third point that defines the angle of the sector.

Usage (signatures)
board.create('reflexangle', [p1, center, p2]);
Parameters
Name Type Description
p1 PointLike
center PointLike
p2 PointLike
Example
// Create a non-reflex angle out of three free points
var p1 = board.create('point', [5.0, 3.0]),
    center = board.create('point', [1.0, 0.5]),
    p2 = board.create('point', [1.5, 5.0]),

    a = board.create('reflexangle', [p1, center, p2], {radius: 2}),
    t = board.create('text', [4, 4, function() { return JXG.toFixed(a.Value(), 2); }]);

Throws

If the element cannot be constructed with the given parent objects an exception is thrown.

Type
Error

Details

Type
Sector
Source
element/sector.js, line 2029