contains

open fun contains(@NonNull point: Point, wrappedCoordinates: Boolean): Boolean

Returns whether the bounds contains `point` or not.

Return

`true` if the bounds contains `point`, `false` otherwise.

Parameters

point

The coordinate to be checked against the bounds.

wrappedCoordinates

Whether to wrap the coordinate or not.

open fun contains(@NonNull area: CoordinateBounds, wrappedCoordinates: Boolean): Boolean

Returns whether the bounds contains `area` or not.

Return

`true` if the bounds contains `area`, `false` otherwise.

Parameters

area

The area to be checked against the bounds.

wrappedCoordinates

Whether to wrap the coordinate or not.