public static Point pointFromOPPPoint(OPPPoint oppPoint) { Point point = new Point(); point.setX(oppPoint.getX()); point.setY(oppPoint.getY()); return point; }
public static OPPPoint oppPointFromPoint(Point point) { OPPPoint oppPoint = OPPFactory.eINSTANCE.createOPPPoint(); oppPoint.setX(point.x); oppPoint.setY(point.y); return oppPoint; }