Examples of TopologyStretcher


Examples of com.vividsolutions.jtstest.testbuilder.topostretch.TopologyStretcher

  {
    if (! isCacheValid()) {
      Geometry g0 = geomModel.getGeometry(0);
      Geometry g1 = geomModel.getGeometry(1);
   
      TopologyStretcher stretcher = new TopologyStretcher(g0, g1);
     
      // check if view is valid (performant enough)  to render
      if (maskEnv != null) {
        isViewPerformant = stretcher.numVerticesInMask(maskEnv) < MAX_VERTICES_IN_MASK;
      }
      if (! isViewPerformant)
        return;

      stretchGeom = stretcher.stretch(nearnessTol, stretchSize, maskEnv);
      stretchCoords = stretcher.getModifiedCoordinates();
    }
  }
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.