cityImage.angle_line_geometries#

cityImage.angle_line_geometries(line_geometryA, line_geometryB, degree=False, calculation_type='vectors')[source]#

Compute the angle between two endpoint-connected LineStrings.

Parameters:
  • line_geometryA (LineString) – Shapely LineStrings sharing one endpoint.

  • line_geometryB (LineString) – Shapely LineStrings sharing one endpoint.

  • degree (bool) – If True, return degrees. Otherwise return radians.

  • calculation_type (str) – One of "vectors", "angular_change", or "deflection".

Return type:

float