- Follow Tool: added more parameters: simplification and union

- Follow Tool: the resulting LineString geometries are now merged together to minimize the number of lines
This commit is contained in:
Marius Stanciu
2024-01-05 14:04:41 +02:00
parent c3f2f8fdeb
commit 2517f31fa4
4 changed files with 109 additions and 15 deletions

View File

@@ -7793,7 +7793,7 @@ class CNCjob(Geometry):
self.app.proc_container.new_text = ''
def flatten_shapely_geometry(geometry, simplify_tolerance=0.0):
def flatten_shapely_geometry(geometry, simplify_tolerance: float = 0.0) -> list:
"""
:param geometry:
@@ -7818,7 +7818,7 @@ def flatten_shapely_geometry(geometry, simplify_tolerance=0.0):
return flat_list
def get_bounds(geometry_list):
def get_bounds(geometry_list: list) -> list:
"""
Will return limit values for a list of geometries