API Reference > geometry-core > CartesianGeometry > Point3dArray > centroid centroid MethodStatic return simple average of all coordinates. (000 if empty array) centroid(points: IndexedXYZCollection, result?: Point3d): Point3d Parameter Type Description points IndexedXYZCollection result Point3d Returns - Point3d Defined in core/geometry/src/geometry3d/PointHelpers.ts Line 539 Last Updated: 13 June, 2024