public void addPoint(PolygonPoint point)
	{
		if (point1 == null)
		{
			point1 = point;
		} else if (point2 == null)
		{
			point2 = point;
		} else if (base == null)
		{
			base = new Polygon(point1, point2, point);
		} else
		{
			ArrayList<PolygonPoint> points = new ArrayList<PolygonPoint>();
			points.add(point);
			base.addPoints(points);
		}
	}