Package org.opengis.geometry.primitive

Examples of org.opengis.geometry.primitive.Ring.transform()


    while (iter.hasNext()) {
      Ring thisRing = (Ring) iter.next();
     
      // exterior Ring should be first element in the list
      if (newExterior == null) {
        newExterior = (Ring) thisRing.transform(newCRS, transform );
      }
      else {
        newInteriors.add((Ring) thisRing.transform(newCRS, transform));
      }
    }
View Full Code Here


      // exterior Ring should be first element in the list
      if (newExterior == null) {
        newExterior = (Ring) thisRing.transform(newCRS, transform );
      }
      else {
        newInteriors.add((Ring) thisRing.transform(newCRS, transform));
      }
    }
   
    // use the new Ring list to build a new Surface and return it
    SurfaceBoundaryImpl surfaceBoundary = (SurfaceBoundaryImpl) primitiveFactory.createSurfaceBoundary(newExterior, newInteriors);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.