Package org.geotools.geometry.iso.aggregate

Examples of org.geotools.geometry.iso.aggregate.MultiSurfaceImpl


    for (int i=1; i<patches.size(); i++) {
      SurfacePatch nextPatch = patches.get(i);
      surfaceList.add(new SurfaceImpl(nextPatch.getBoundary()));
    }
   
    MultiSurface ms = new MultiSurfaceImpl(getCoordinateReferenceSystem(), surfaceList);
    TransfiniteSet unionResultSurface = firstPatchSurface.union(ms);
    if (! (unionResultSurface instanceof SurfaceImpl))
      throw new IllegalArgumentException("Surface patches are not continuous");
   
    return (SurfaceBoundaryImpl) ((SurfaceImpl)unionResultSurface).getBoundary();
View Full Code Here

TOP

Related Classes of org.geotools.geometry.iso.aggregate.MultiSurfaceImpl

Copyright © 2018 www.massapicom. 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.