Incenter

Element

The center of the incircle of the triangle described by the three given points (without constructing the circle). https://mathworld.wolfram.com/Incenter.html

Usage (signatures)
board.create('incenter', [p1, p2, p3]);

The constructed point is the incenter of the triangle described by p1, p2, and p3.

Parameters
Name Type Description
p1 PointLike
p2 PointLike
p3 PointLike
Example

Incenter of triangle p1, p2, p3

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]);
Attributes

Own

none

Inherited

Members

Own

none

Inherited

Methods

Own

none

Inherited

Events

Own

none

Inherited

Throws

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

Type
Error

Details

Type
JXG.Point
Source
element/composition.js, line 1632

Extends