Usage (signatures)
board.create('circumcenter', [p1, p2, p3]);
The constructed point is the center of the circle determined by points p1, p2, and p3.
Parameters
| Name | Type | Description |
|---|---|---|
p1 |
PointLike | |
p2 |
PointLike | |
p3 |
PointLike |
Example
Center point of the circum circle of points 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 cc1 = board.create('circumcenter', [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 1523