Table of Contents

Property Centroid

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

Centroid

Gets the polygon centroid (geometric center) computed via the shoelace formula. If the area is approximately zero, falls back to the average of the four corners.

[JsonIgnore]
public Point Centroid { get; }

Property Value

Point

The centroid of the quadrilateral as a Point.