Sort vtkPoints by one coordinate

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Sort vtkPoints by one coordinate

juanibv
Points have 3 coordinates: (x,y,z)
Is there a simplest method for sorting vtkPoints by one coordinate? e.g. y
Reply | Threaded
Open this post in threaded view
|

Re: Sort vtkPoints by one coordinate

kenichiro yoshimi
Hi juanibv,

Employing vtkPriorityQueue is relatively simple method of sorting
vtkPoints by one coordinate. I attached a sample.

Regards,
yoshimi

2017-07-07 20:44 GMT+09:00 juanibv <[hidden email]>:

> Points have 3 coordinates: (x,y,z)
> Is there a simplest method for sorting vtkPoints by one coordinate? e.g. y
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Sort-vtkPoints-by-one-coordinate-tp5743925.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

_______________________________________________
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

SortPoints.tar.gz (1K) Download Attachment