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 ReadOnly Property Centroid() As Point2d
This language is not supported or no code example is available.
public Point2d Centroid {get;}
This language is not supported or no code example is available.
public:  
property Point2d^ Centroid { 
Point2d^ get( ); 
}
This language is not supported or no code example is available.
public function get Centroid() : Point2d;
This language is not supported or no code example is available.

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