Package org.opengis.geometry.primitive

Examples of org.opengis.geometry.primitive.Surface.union()


      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
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.