fibomat.layout.groups.group_base module#

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

Bases: LayoutBase[ElementT, VectorT, BBoxT], ABC

__init__(elements: List[ElementT], description: str | None = None)[source]#
Args:

description (str, optional): description

property elements#
property center: VectorT#
property bounding_box: BBoxT#
layout_elements() Iterator[ElementT]#

Access to the saved elements.

Yields:

Any: Type depends on saved element.