Area centroid [x, z] of a simple closed polygon in mm.
[x, z]
Uses the shoelace decomposition into origin triangles. A twice-area magnitude below 1e-9 squared input units falls back to the vertex mean; an empty polygon returns the zero pair.
Area centroid
[x, z]of a simple closed polygon in mm.Uses the shoelace decomposition into origin triangles. A twice-area magnitude below 1e-9 squared input units falls back to the vertex mean; an empty polygon returns the zero pair.