invoke

open operator override fun invoke(position: P): Boolean

Checks if the position is inside the shape.

Return

true if the position is inside the PositionBasedFilter.