# Adding center of mass properties to vtkMassProperties

**URL:** https://discourse.vtk.org/t/adding-center-of-mass-properties-to-vtkmassproperties/653
**Category:** Development
**Tags:** proposal
**Created:** [April 1, 2019, 8:36am UTC](https://discourse.vtk.org/t/adding-center-of-mass-properties-to-vtkmassproperties/653 "2019-04-01T08:36:52Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![normanius](https://discourse.vtk.org/user_avatar/discourse.vtk.org/normanius/32/611_2.png) [@normanius](https://discourse.vtk.org/u/normanius)
#### Post date: [May 5, 2020, 2:28pm UTC](https://discourse.vtk.org/t/adding-center-of-mass-properties-to-vtkmassproperties/653/2 "2020-05-05T14:28:27Z")

</div>

I support this request. Besides volume-based center of mass, please add also surface-based center of mass. And if we are at it, support `UseScalarsAsWeight` when iterating over the cells, which is required to compute volume and area.

See [this topic](https://discourse.vtk.org/t/how-to-compute-surface-and-volume-based-center-of-masses-for-3d-geometries/3215) where I was asking for a similar feature.

---

_[View the full topic](https://discourse.vtk.org/t/adding-center-of-mass-properties-to-vtkmassproperties/653)._
