private void rotateTwiceOrdered ( ) { Point2D_F64 a = ordered [ 0 ] ; Point2D_F64 b = ordered [ 1 ] ; Point2D_F64 c = ordered [ 2 ] ; Point2D_F64 d = ordered [ 3 ] ; ordered [ 0 ] = c ; ordered [ 1 ] = d ; ordered [ 2 ] = a ; ordered [ 3 ] = b ; }
Reorders the list by the equivalent of two rotations