예제 #1
0
 public CartesianPoint asCartesianPoint() {
   int x = (int) round((r * theta.cos()));
   int y = (int) round(r * theta.sin());
   return new CartesianPoint(x, y);
 }