ST_Crosses( ST_Geometry ) method

Tests if a geometry value crosses another geometry value.

Syntax

geometry-expression.ST_Crosses( ST_Geometry geo2)

Parameters

Returns

BIT Returns 1 if the geometry-expression crosses geo2, otherwise 0. Returns NULL if geometry-expression is a surface or multisurface, or if geo2 is a point or multipoint.

Examples

Standards

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