public static final Vector3D randVertex2d ( ) { float theta = random ( ( float ) ( Math . PI * 2.0 ) ) ; return new Vector3D ( Math . cos ( theta ) , Math . sin ( theta ) ) ; }
returns a random Vertex that represents a point on the unit circle