コード例 #1
0
 public static Point pointFromOPPPoint(OPPPoint oppPoint) {
   Point point = new Point();
   point.setX(oppPoint.getX());
   point.setY(oppPoint.getY());
   return point;
 }
コード例 #2
0
 public static OPPPoint oppPointFromPoint(Point point) {
   OPPPoint oppPoint = OPPFactory.eINSTANCE.createOPPPoint();
   oppPoint.setX(point.x);
   oppPoint.setY(point.y);
   return oppPoint;
 }