[vtk-developers] Proposed CenterOfMass function for vtkPoints

David Doria daviddoria+vtk at gmail.com
Thu Apr 1 10:28:02 EDT 2010


On Thu, Apr 1, 2010 at 10:24 AM, Biddiscombe, John A. <biddisco at cscs.ch> wrote:
> PS. I see no reason at all for this to exist in vtkPoints
>
> JB

John,

Really?? I was originally going to make a vtkCenterOfMassFilter (or
vtkCentroidFilter) like you have shown, but I didn't know how to make
the return type simple a double[3]. It didn't seem worth having an
entire filter/class to simply compute 1 value.

Thanks,

David



More information about the vtk-developers mailing list