@baku89/pave - v0.4.1 / Circle
Namespace: Circle
Functions for manipulating circles represented as Circle.
Functions
circumcircle
▸ circumcircle(a
, b
, c
): Circle
| null
Returns the circumscribed circle of the given triangle.
Parameters
Name | Type | Description |
---|---|---|
a | vec2 | The first point of the triangle |
b | vec2 | The second point of the triangle |
c | vec2 | The third point of the triangle |
Returns
Circle
| null
The circumscribed circle of the given triangle