Home > @magiclane/maps-sdk > RectangleGeographicArea > intersects

RectangleGeographicArea.intersects() method

Checks if this rectangle intersects with another rectangle.

Signature:

intersects(area: RectangleGeographicArea): boolean;

Parameters

Parameter

Type

Description

area

RectangleGeographicArea

The RectangleGeographicArea to check intersection with.

Returns:

boolean

True if the rectangles intersect, false otherwise.