Computes and returns the angle between two vectors represented by the provided points or linestrings.There are three variants possible for ST_Angle:Computes the angle formed by vectors represented by point1 - point2 and point3 - point4Computes the angle formed by vectors represented by point2 - point1 and point2 - point3Computes the angle formed by vectors S1 - E1 and S2 - E2, where S and E denote start and end points respectively
If any other geometry type is provided, ST_Angle throws an IllegalArgumentException.
Additionally, if any of the provided geometry is empty, ST_Angle throws an IllegalArgumentException.
If a 3D geometry is provided, ST_Angle computes the angle ignoring the z ordinate, equivalent to calling ST_Angle for corresponding 2D geometries.
ST_Angle returns the angle in radian between 0 and 2\Pi. To convert the angle to degrees, use ST_Degrees.