Polygon2DFilledAreaUtil
implementation of the Polygon2DFilledAreaUtil
- add hatching, pattern, filling, face style or surface element properties
- create filled area with polygon2D
Polygon2DFilledAreaUtil
Canonical path: Utils.Geometry.Polygon2DFilledAreaUtil.Polygon2DFilledAreaUtil
implementation of the Polygon2DFilledAreaUtil
execute
execute(
model_ele_list: ModelEleList,
polygon: Polygon2D,
visible_polygon: bool,
visible_area: bool = True,
)
create the filled area depending on the current filled area properties and add it to the model element list
Parameters:
-
model_ele_list(ModelEleList) –model element list
-
polygon(Polygon2D) –polygon (created with the common properties of the model element list)
-
visible_polygon(bool) –visible polygon state
-
visible_area(bool, default:True) –visible area state
set_common_properties
set_common_properties(com_prop: CommonProperties | None)
set_face_style
set_face_style(face_style_prop: FaceStyleProperties | None)
set the face style properties
Parameters:
-
face_style_prop(FaceStyleProperties | None) –face style properties
set_filling
set_filling(filling_prop: FillingProperties | None)
set_hatching
set_hatching(hatching_prop: HatchingProperties | None)
set the hatching properties
Parameters:
-
hatching_prop(HatchingProperties | None) –hatching properties
set_pattern
set_pattern(pattern_prop: PatternProperties | None)
set_surface_ele
set_surface_ele(surface_prop: SurfaceElementProperties | None)
set the surface element properties
Parameters:
-
surface_prop(SurfaceElementProperties | None) –surface element properties
Placeholder