Crosses(g1,g2)
Returns 1
if g1
spatially crosses g2
. Returns NULL
if g1
is a Polygon or a MultiPolygon, or if g2
is a Point or a MultiPoint. Otherwise, returns 0
.
The term spatially crosses denotes a spatial relation between two given geometries that has the following properties:
CROSSES() is based on the original MySQL implementation, and uses object bounding rectangles, while ST_CROSSES() uses object shapes.
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/crosses/