contains

fun contains(rectangle: Rectangle, cartographic: Cartographic): Boolean(source)

Returns true if the cartographic is on or inside the rectangle, false otherwise.

Return

true if the provided cartographic is inside the rectangle, false otherwise.

Parameters

rectangle

The rectangle

cartographic

The cartographic to test.

See also