contains

abstract operator fun contains(position: P): Boolean

Checks if the position is inside the shape.

Return

true if the position is inside the PositionBasedFilter.