Package com.esri.core.geometry

Examples of com.esri.core.geometry.Envelope


    if (ogcGeometry == null) {
      LogUtils.Log_ArgumentsNull(LOG);
      return null;
    }

    Envelope envBound = new Envelope();
    ogcGeometry.getEsriGeometry().queryEnvelope(envBound);
    resultDouble.set(envBound.getXMax());
    return resultDouble;
  }
View Full Code Here


    if (ogcGeometry == null) {
      LogUtils.Log_ArgumentsNull(LOG);
      return null;
    }

    Envelope envBound = new Envelope();
    ogcGeometry.getEsriGeometry().queryEnvelope(envBound);
    resultDouble.set(envBound.getYMin());
    return resultDouble;
  }
View Full Code Here

    if (ogcGeometry == null) {
      LogUtils.Log_ArgumentsNull(LOG);
      return null;
    }

    Envelope envBound = new Envelope();
    ogcGeometry.getEsriGeometry().queryEnvelope(envBound);
    resultDouble.set(envBound.getYMax());
    return resultDouble;
  }
View Full Code Here

      return null;
    }

    Geometry geometry1 = ogcGeom1.getEsriGeometry();
    Geometry geometry2 = ogcGeom2.getEsriGeometry();
    Envelope env1 = new Envelope(), env2 = new Envelope();
    geometry1.queryEnvelope(env1);
    geometry2.queryEnvelope(env2);

    resultBoolean.set(env1.isIntersecting(env2));
    return resultBoolean;
View Full Code Here

    if (ogcGeometry == null) {
      LogUtils.Log_ArgumentsNull(LOG);
      return null;
    }

    Envelope envBound = new Envelope();
    ogcGeometry.getEsriGeometry().queryEnvelope(envBound);
    resultDouble.set(envBound.getXMin());
    return resultDouble;
  }
View Full Code Here

    int wkid = GeometryUtils.getWKID(geometryref);
    SpatialReference spatialReference = null;
    if (wkid != GeometryUtils.WKID_UNKNOWN) {
      spatialReference = SpatialReference.create(wkid);
    }
    Envelope envBound = new Envelope();
    ogcGeometry.getEsriGeometry().queryEnvelope(envBound);
    return GeometryUtils.geometryToEsriShapeBytesWritable(OGCGeometry.createFromEsriGeometry(envBound,
                                  spatialReference));
  }
View Full Code Here

  }

  @Override
  public OGCGeometry envelope() {
    GeometryCursor gc = getEsriGeometryCursor();
    Envelope env = new Envelope();
    for (Geometry g = gc.next(); g != null; g = gc.next()) {
      Envelope e = new Envelope();
      g.queryEnvelope(e);
      env.merge(e);
    }

    Polygon polygon = new Polygon();
View Full Code Here

      }
    }

    // build the grid of cells
    if (country != null) {
      envelope = new Envelope();
      country.features[0].geometry.queryEnvelope(envelope);
      buildGrid(gridSide);
    }
  }
View Full Code Here

  QuadTreeIterator quadTreeIter;
 
  private void buildQuadTree(){
    quadTree = new QuadTree(new Envelope2D(-180, -90, 180, 90), 8);
   
    Envelope envelope = new Envelope();
    for (int i=0;i<featureClass.features.length;i++){
      featureClass.features[i].geometry.queryEnvelope(envelope);
      quadTree.insert(i, new Envelope2D(envelope.getXMin(), envelope.getYMin(), envelope.getXMax(), envelope.getYMax()));
    }
   
    quadTreeIter = quadTree.getIterator();
  }
View Full Code Here

    if (ogcGeometry == null) {
      LogUtils.Log_ArgumentsNull(LOG);
      return null;
    }

    Envelope envBound = new Envelope();
    ogcGeometry.getEsriGeometry().queryEnvelope(envBound);
    resultDouble.set(envBound.getYMin());
    return resultDouble;
  }
View Full Code Here

TOP

Related Classes of com.esri.core.geometry.Envelope

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.