intersectCircleCircle

See source code

Find the intersections between a circle and a circle.

function intersectCircleCircle(
  c1: VecLike,
  r1: number,
  c2: VecLike,
  r2: number
): Vec[]

Parameters

NameDescription

c1

The first circle's center.

r1

number

The first circle's radius.

c2

The second circle's center.

r2

number

The second circle's radius.

Returns

Vec[]
Prev
HTMLContainer
Next
intersectCirclePolygon