BarsRepresentationLineUtil
implementation of the bars representation line utility class
BarsRepresentationLineUtil
Canonical path: Utils.Reinforcement.BarsRepresentationLineUtil.BarsRepresentationLineUtil
implementation of the bars representation line utility class
get_dim_line_center_bar_intersection
get_dim_line_center_bar_intersection(
dim_line: Line2D, bars_rep: BarsRepresentation
) -> Point2D | None
get the intersection point of the dimension line with the center bar
Parameters:
-
dim_line
(Line2D
) –dimension line
-
bars_rep
(BarsRepresentation
) –representation element
Returns:
-
Point2D | None
–intersection point
get_visible_bars
get_visible_bars(
visible_bars_ele: BaseElementAdapterList,
bars_rep: BarsRepresentation,
visible_bars: str,
) -> VecIntList
get the visible bar elements
Parameters:
-
visible_bars_ele
(BaseElementAdapterList
) –visible bar elements
-
bars_rep
(BarsRepresentation
) –representation element
-
visible_bars
(str
) –visible bars
Returns:
-
VecIntList
–visible bars string
Placeholder