sdynpy.core.sdynpy_shape.overlay_shapes
- overlay_shapes(geometries, shapes, color_override=None)
Combines several shapes and geometries for comparitive visualization
- Parameters
geometries (Iterable of Geometry) – A list of Geometry objects that will be combined into a single Geometry
shapes (Iterable of ShapeArray) – A list of ShapeArray objects that will be combined into a single ShapeArray
color_override (iterable, optional) – An iterble of integers specifying colors, which will override the existing geometry colors. This should have the same length as the geometries input. The default is None, which keeps the original geometry colors.
- Returns
new_geometry (Geometry) – A geometry consisting of a combination of the specified geometries
new_shape (ShapeArray) – A ShapeArray consisting of a combination of the specified ShapeArrays