contains

open operator override fun contains(point: Point): Boolean

Uses winding-number approach https://en.wikipedia.org/wiki/Point_in_polygon


open operator override fun contains(rectangle: Rectangle): Boolean

Return

``true`` IFF the given rectangle falls within the boundaries of this Polygon */