Skip to content

polygon3Centroid

polygon3Centroid(p): Point3

Defined in: polygon3.ts:58

Returns the area-weighted centroid via fan triangulation from vertex 0. Falls back to the vertex average for degenerate (zero-area) polygons.

Polygon3

Point3