Table of Contents

Property Centroid

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Centroid

Gets the centroid of the face: the centroid of its boundary with its holes taken out, so a plate balances at this point whatever has been cut from it.

public GeoPoint3 Centroid { get; }

Property Value

GeoPoint3

Remarks

A face whose holes cancel its boundary has no centroid to give, and its boundary centroid is returned instead rather than a division by zero.