intersects

abstract fun intersects(other: Shape<S, A>): Boolean

A shape intersects another if any of its points is contained in the other one.

Return

true if the intersection is not empty

Parameters

other

the other shape