IsSimple(g)

Returns 1 if the geometry value g has no anomalous geometric points,
such as self-intersection or self-tangency. IsSimple() returns 0 if the
argument is not simple, and NULL if it is NULL.

The description of each instantiable geometric class given earlier in
the chapter includes the specific conditions that cause an instance of
that class to be classified as not simple. (See [HELP Geometry
hierarchy].)

Prior to MySQL 5.6.1, this function always returns 0.

URL: http://dev.mysql.com/doc/refman/5.6/en/geometry-property-functions.html

