centroid MethodStatic

return simple average of all coordinates. (000 if empty array)

centroid(points: IndexedXYZCollection | Point3d[], result?: Point3d): Point3d

Parameter Type Description
points IndexedXYZCollection | Point3d[]  
result Point3d  

Returns - Point3d

Defined in

Last Updated: 14 November, 2024