Usage (signatures)
board.create('nonreflexangle', [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('nonreflexangle', [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 1966