fibomat.layout.groups.group_base module

class fibomat.layout.groups.group_base.GroupBase(elements: List[fibomat.layout.groups.group_base.ElementT], description: Optional[str] = None)[source]

Bases: fibomat.layout.layoutbase.LayoutBase[fibomat.layout.groups.group_base.ElementT, fibomat.layout.groups.group_base.VectorT, fibomat.layout.groups.group_base.BBoxT], abc.ABC

__init__(elements: List[fibomat.layout.groups.group_base.ElementT], description: Optional[str] = None)[source]
Args:

description (str, optional): description

property elements
property center: fibomat.layout.groups.group_base.VectorT
property bounding_box: fibomat.layout.groups.group_base.BBoxT
layout_elements() Iterator[fibomat.layout.layoutbase.ElementT]

Access to the saved elements.

Yields:

Any: Type depends on saved element.