intersects

abstract infix fun intersects(section: Section2<T>): Boolean

Returns true if given section intersects this shape.


abstract infix fun intersects(other: Shape<T>): Boolean

Returns true if given other shape intersects this shape.


open infix fun intersects(rectangle: Rectangle<T>): Boolean

Returns true if given rectangle intersects this shape.


abstract infix fun intersects(polygon: Polygon<T>): Boolean

Returns true if given polygon intersects this shape.


abstract infix fun intersects(circle: Circle<T>): Boolean

Returns true if given circle intersects this shape.