- class MultiLineString(dtcc.Geometry)[source]
Public members¶
- calculate_bounds()[source]
Calculate the bounding box of the multi line string.
- property length
Calculate the length of the multi line string.
- to_shapely()[source]
Convert the MultiLineString to a Shapely MultiLineString.
- from_shapely(shape)[source]
Initialize the MultiLineString from a Shapely MultiLineString.
- from_proto(pb: Geometry | bytes)[source]
Initialize Geometry from a protobuf representation.
- MultiLineString(...)
Initialize self. See help(type(self)) for accurate signature.
- __repr__()
Return repr(self).
- linestrings : list[LineString]
- to_json() str
Return a JSON representation of the object.
-
classmethod add_methods(module, name=
None
) Adds methods from a module or function to the class.
-
classmethod print_methods(verbose=
False
) Print the methods that have been added to the class.