BarsRepresentationUtil
implementation of the bars representation utility class
BarsRepresentationUtil
Canonical path: Utils.Reinforcement.BarsRepresentationUtil.BarsRepresentationUtil
implementation of the bars representation utility class
__init__
__init__(bars_rep: BarsRepresentation)
are_all_bars_visible_in_representation
check if all bars are visible in the representation
Returns:
-
bool
–all bars are visible in the representation
get_local_min_max_of_placement
get_min_max_of_placements
staticmethod
get_min_max_of_placements(
bars_ref_elements: list[BaseElementAdapter], direction_angle: Angle
) -> MinMax2D
get the min/max box of the placements defined by the representation elements local to the direction angle
Parameters:
-
bars_ref_elements
(list[BaseElementAdapter]
) –representation elements
-
direction_angle
(Angle
) –direction angle
Returns:
-
MinMax2D
–min/max box of the representation elements
Placeholder