jord.shapely_utilities.clamp.adjust_line_end#

jord.shapely_utilities.clamp.adjust_line_end(line: LineString, end: BaseGeometry) LineString[source]#

Reverse line if necessary to ensure that it ends near end.

Parameters:
  • line

  • end

Returns: