Пример #1
0
 private Balloon getBalloonWithFixedY(double y) {
   Balloon result = simple.getBalloonWithFixedY(y);
   result = result.rotate(rotationInverse);
   result = result.translate(translateO);
   return result;
 }
Пример #2
0
 public Balloon getCenterWithFixedRadius(double radius) {
   final Point2D centerSimple = simple.getCenterWithFixedRadius(radius);
   return new Balloon(rotationInverse.getPoint(translateO.getTranslated(centerSimple)), radius);
 }