Class Incenter
Constructs the incenter of the triangle described by the three given points.
Defined in: Composition.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Incenter(p1,p2,p3)
http://mathworld.wolfram.com/Incenter.html
|
Class Detail
Incenter(p1,p2,p3)
http://mathworld.wolfram.com/Incenter.html
var p1 = board.create('point', [0.0, 2.0]); var p2 = board.create('point', [2.0, 1.0]); var p3 = board.create('point', [3.0, 3.0]); var ic1 = board.create('incenter', [p1, p2, p3]);
- Parameters:
- {JXG.Point_JXG.Point_JXG.Point} p1,p2,p3
- The constructed point is the incenter of the triangle described by p1, p2, and p3.
- Throws:
- {Exception}
- If the element cannot be constructed with the given parent objects an exception is thrown.
- Returns:
- An array containing the midpoint in the first component and the circumcircle in the second component.