get_polygon_centroid#
- static GeometryOperators.get_polygon_centroid(pts)#
Evaluate the centroid of a polygon defined by its points.
- Parameters:
- pts
List
List of points, with each point defined by its
[x,y,z]
coordinates.
- pts
- Returns:
List
List of [x,y,z] coordinates for the centroid of the polygon.