Usage (signatures)
board.create('incircle', [p1, p2, p3]);
The constructed circle is the incircle of the triangle spanned by p1, p2, and p3.
Parameters
| Name | Type | Description |
|---|---|---|
p1 |
PointLike | |
p2 |
PointLike | |
p3 |
PointLike |
Example
Incircle 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('incircle', [p1, p2, p3]);
Attributes
Own
center
- Description
Attributes of circle center.
- Type
- Point
- Overrides
- JXG.Circle#center
- Source
- options.js, line 6393
Inherited
Members
Own
center : Incenter
- Description
The center of the incircle
- Type
- Incenter
- Overrides
- JXG.Circle#center
- Source
- element/composition.js, line 1914
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.Circle
- Source
- element/composition.js, line 1827