Basically I have a list of points, each with X,Y,Z (Z is always the same).
For example:
pointList.add(Point p = new Point(1, 2, 3));
however I am having trouble sorting them into a clockwise order.
I know the centre and I know the there are roughly 600 points in each list.
I have accomplished this before in Python, but I am having trouble in C#.
Python code:
pointlist.sort(key=lambda c:atan2(c[0], c[1]))