code: public static Point3d[] getPolygonVertices(int n, double radius, Point3d center) {
  		Point3d[] polygon = new Point3d[n];
  		Matrix3d m = new Matrix3d();
  
  		for (int i = 0; i < n; i++) {
  			polygon[i] = new Point3d(0, radius, 0);
  			m.rotZ(i*2*Math.PI/n);
  			m.transform(polygon[i]);
  			polygon[i].add(center);
  		}
  		return polygon;
  	}
docs: Returns the vertices of an n-fold polygon of given radius and center
  @return