Tests whether a geometry has spikes.
A spike is defined to be three consecutive points (A, B, C) such that:
· The distance AB is less than the distance BC
· The sine of the angle ABC is less than a maximum value specified by the second parameter
· (Optional) The distance AB is less than a maximum "length" value specified by the third parameter
Parameter 1 - the geometry to be tested.
Parameter 2 (Optional) - the maximum value for the sine of the angle in the spike (a real number in the range between 0 and 1). If omitted, this defaults to the sine of 1 degree (approximately 0.017).
Parameter 3 (Optional) - the maximum length of the spike.
Returns: a Boolean value, true if the geometry has spikes and false if it does not. Returns null is parameter 1 is not a geometry.
Note: This function does not fully support 3D geometries. Any 3D geometries will be projected down to 2 dimensions.