composite_geometry
- sisl.geom.composite_geometry(sections, section_cls, **kwargs)[source]
Creates a composite geometry from a list of sections.
The sections are added one after another in the provided order.
- Parameters:
sections (
ndarrayof(_geom_sectionorGeometryortupleordict)) –A list of sections to be added to the ribbon.
Each section is either a
composite_geometry.sectionor something that will be parsed to acomposite_geometry.section.section_cls (
class, optional) – The class to use for parsing sections.**kwargs – Keyword arguments used as defaults for the sections when the .