ST_IntersectsRect( ST_Point , ST_Point ) method

Test if a geometry intersects a rectangle.

Syntax

geometry-expression.ST_IntersectsRect( ST_Point pmin, ST_Point pmax)

Parameters

Returns

BIT Returns 1 if the geometry-expression intersects with the specified rectangle, otherwise 0.

Examples

Standards

SQL/MM (ISO/IEC 13249-3: 2006) Vendor extension