[vtkusers] Find corner points of closed surface
Marco Nawijn
nawijn at gmail.com
Wed Dec 30 04:29:54 EST 2015
I am not aware (but I am also not an expert) of a particular filter or
method
to get the corner points of a surface in general. However, for the
particular
surface that you show, it should not be that difficult, because each of the
corner points is on the bounding box of the grid. So assuming that the
you have collected the points in a vtkPoints object, you can first extract
the bounds and afterwards find the points that are on (closest to) each
of the sides of the bounding box. Not that hard, not immediately obvious
either.
Marco
On Wed, Dec 30, 2015 at 6:57 AM, madz <madaramh at gmail.com> wrote:
> I have a surface as displayed below. I need to find the 4 corner points
> (circled in black) of the surface.
>
> <http://vtk.1045678.n5.nabble.com/file/n5735700/CORNER_POINTS.png>
>
> Is there a method to achieve this in VTK?
> Any help would be appreciated.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Find-corner-points-of-closed-surface-tp5735700.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151230/22221fbe/attachment.html>
More information about the vtkusers
mailing list