max_deflection_angle

Returns the maximum deflection angle between adjacent line segments in a geometry. Given an arbitrary geometry, finds the maximum deflection (change in direction, clockwise or anti-clockwise, between adjacent vectors).

for a point this is always 0

for an area this is the maximum deflection in any of its rings

for a complex geometry it is the maximum deflection in any of its simple parts

for 3D geometries, the heights are ignored

Number of parameters: 1.

Parameter 1 - any geometry.

Returns: the maximum deflection angle in degrees.