RigidPart.find_faces_in_polygon

RigidPart.find_faces_in_polygon(polygon, tol=1.1)[source]

Find the faces of the elements that are contained within a planar polygon.

Parameters:
polygoncompas.geometry.Polygon

The polygon for the search.

tolfloat, optional

Tolerance for the search, by default 1.1.

Returns:
compas_fea2.model.FaceGroup]

Subgroup of the faces within the polygon.