Package org.geotools.geometry.iso.coordinate

Examples of org.geotools.geometry.iso.coordinate.EnvelopeImpl.expand()


    //EnvelopeImpl rEnv = this.getFeatGeometryFactory().getGeometryFactoryImpl().createEnvelope(actSurf.getEnvelope());
   
    /* Add envelopes of the other Curves */
    while (surfIter.hasNext()) {
      actSurf = (Surface) surfIter.next();
      rEnv.expand(actSurf.getEnvelope());
    }

    return rEnv;
  }
 
View Full Code Here


    /* Build Envelope with StartPoint */
    // EnvelopeImpl tmpEnv = new EnvelopeImpl(this.startPoint.getDirectPosition(), this.startPoint.getDirectPosition());
   
    EnvelopeImpl tmpEnv = new EnvelopeImpl(this.startPoint.getEnvelope());
    /* Extend Envelope with EndPoint */
    tmpEnv.expand(this.endPoint.getDirectPosition().getCoordinate());
    return tmpEnv;
  }

  /*
   * (non-Javadoc)
 
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.