[vtkusers] Concave Polygons

Mario Richtsfeld rm at acin.tuwien.ac.at
Mon Jul 7 08:44:50 EDT 2008


Dear All,

 

I want to calculate the inner centre of mass of different polygons that
includes also concave polygons.

 

The function: ->GetCenter() only returns the physical midpoint, but I need
the centre inside the polygon surface.

 

Or, exist a way a way to use the vtkImageSkeleton2D filter?

 

The PowerCrustAlgorithmn is very unstable for my application, because I have
only the boundary points.

 

Thanks for every help!

 

All the best!

 

Mario

 

________________________________________

Dipl.-Ing.(FH) Mario Richtsfeld

Research assistant

AUTOMATION & CONTROL INSTITUTE | ACIN

VIENNA UNIVERSITY OF TECHNOLOGY

Gußhausstraße 27-29 | 376. 1040 Wien 

Tel.: +43 (0)1 - 58801 - 77663 

Fax.: +43 (0)1 - 58801 - 37699 

rm at acin.tuwien.ac.at | www.acin.tuwien.ac.at

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080707/5ff71803/attachment.htm>


More information about the vtkusers mailing list