public LineClass MakeLine(int x, int y)
{
LineClass retVal = new LineClass();
retVal.Int = x + y;
retVal.Double = x * y;
Coordinate[] coords = new Coordinate[4];
coords[0] = new Coordinate(x, y);
coords[1] = new Coordinate(x + 10, y);
coords[2] = new Coordinate(x + 10, y + 20);
coords[3] = new Coordinate(x + 20, y + 20);
retVal.Shape = new LineString(coords);
retVal.Shape.SRID = -1;
return retVal;
}