sort on x and y of 2d points
Members - Reputation: 218
Posted 10 December 2012 - 05:36 AM
I would use a sort algorithm that works with multiple indices.
For example i would sort based on cx and cy a set of 2d point.
I think to x and y combined in a color and i wish extract the groups of 2d points that have a similar color.
Is the same thing as an ordering based on x and y?
Crossbones+ - Reputation: 16535
Posted 10 December 2012 - 08:03 AM
However, the result of sorting won't generally make a good clustering algorithm, which is what you seem to need.
Crossbones+ - Reputation: 11731
Posted 11 December 2012 - 12:17 PM
But it depends on what you want to do, you haven't given enough information.
Edited by Bacterius, 11 December 2012 - 12:18 PM.
“If I understand the standard right it is legal and safe to do this but the resulting value could be anything.”