[vtkusers] Sort vtkPoints by one coordinate

kenichiro yoshimi rccm.kyoshimi at gmail.com
Fri Jul 7 22:41:52 EDT 2017


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 <juan.dura at ibv.upv.es>:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SortPoints.tar.gz
Type: application/x-gzip
Size: 887 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170708/fce86519/attachment.bin>


More information about the vtkusers mailing list