round_polygon_vertices#

sectionproperties.pre.geometry.round_polygon_vertices(poly: Polygon, tol: int) Polygon[source]#

Returns a Polygon with all of its vertices rounded by tol.

Parameters:
  • poly (Polygon) – Polygon to round

  • tol (int) – Number of decimals to round vertices to

Returns:

Polygon with rounded vertices

Return type:

Polygon