directPositionList.add(tCoordFactory.createDirectPosition(new double[] {20, 10}));
directPositionList.add(tCoordFactory.createDirectPosition(new double[] {40, 10}));
directPositionList.add(tCoordFactory.createDirectPosition(new double[] {50, 40}));
directPositionList.add(tCoordFactory.createDirectPosition(new double[] {30, 50}));
directPositionList.add(tCoordFactory.createDirectPosition(new double[] {10, 30}));
directPositionList.add(tCoordFactory.createDirectPosition(new double[] {20, 10}));
Ring exteriorRing = (Ring) tPrimFactory.createRingByDirectPositions(directPositionList);
List<Ring> interiors = new ArrayList<Ring>();
SurfaceBoundaryImpl surfaceBoundary1 = tPrimFactory.createSurfaceBoundary(exteriorRing, interiors );