tangents

fun tangents(other: Circle, isInner: Boolean = false): List<Pair<Vector2, Vector2>>(source)

Calculates the tangent lines between two Circles.

Defaults to returning the outer tangents.

Parameters

isInner

If true, returns the inner tangents instead.


Calculates the tangent lines through an external point.