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 geometry3d/PointHelpers.ts Line 569 Last Updated: 12 June, 2024