// set up ee1 with CircleLocation
CircleLocationModel cl = new CircleLocationModel();
Point2D positionOnScreen = new Point2D.Double(3,4);
GlobalPosition centerPosition = GlobalPosition.from(positionOnScreen);
cl.setCenter(centerPosition);
Point2D circlePoint = new Point2D.Double(0, -25);
GlobalPosition circlePosition = GlobalPosition.from(circlePoint);
cl.setCirclePoint(circlePosition);
cl.setRadius(centerPosition.distanceTo(circlePosition));
EnvironmentEventModel ee1 =
new EnvironmentEventModel(EnvironmentEventModel.Type.CO2, 12, cl);
///////////////////////////////////
// set up ee2 with PloygonLocation
PolygonLocationModel pl = new PolygonLocationModel();
List<GlobalPosition> positions = new ArrayList<GlobalPosition>();
Point2D p1 = new Point2D.Double(3,4);
GlobalPosition gp1 = GlobalPosition.from(p1);
positions.add(gp1);
Point2D p2 = new Point2D.Double(13,14);
GlobalPosition gp2 = GlobalPosition.from(p2);
positions.add(gp2);
Point2D p3 = new Point2D.Double(22,23);
GlobalPosition gp3 = GlobalPosition.from(p3);
positions.add(gp3);
Point2D p4 = new Point2D.Double(12,9);
GlobalPosition gp4 = GlobalPosition.from(p4);
positions.add(gp4);
Point2D p5 = new Point2D.Double(3,34);
GlobalPosition gp5 = GlobalPosition.from(p5);
positions.add(gp5);
pl.setPoints(positions);
EnvironmentEventModel ee2 =