Poly2d.Centroid Property

Gets a new point, which represents the centroid of the polygon, as if the polygon was a solid plate. If the polygon is empty, an exception will be thrown.
public Point2d Centroid {get;}

Property Value

Point2d

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition