intersects

abstract fun intersects(shape: Shape): Boolean

Checks if a java.awt.Shape intersects the polygon, adjacent shapes are not considered to be intersecting.

Parameters

shape

the shape


Checks if a segment intersects with the polygon, segments lying on the polygon's boundary are not considered to be intersecting.

Parameters

segment

the segment