Package com.esri.core.geometry

Examples of com.esri.core.geometry.OperatorBuffer


    return OGCGeometry.createFromEsriCursor(
        new SimpleGeometryCursor(result), esriSR);
  }

  public OGCGeometry buffer(double distance) {
    OperatorBuffer op = (OperatorBuffer) OperatorFactoryLocal.getInstance()
        .getOperator(Operator.Type.Buffer);
    if (distance == 0) {// when distance is 0, return self (maybe we should
              // create a copy instead).
      return this;
    }

    double d[] = { distance };
    com.esri.core.geometry.GeometryCursor cursor = op.execute(
        getEsriGeometryCursor(), getEsriSpatialReference(), d, true,
        null);
    return OGCGeometry.createFromEsriGeometry(cursor.next(), esriSR);
  }
View Full Code Here


    return OGCGeometry.createFromEsriCursor(
        new SimpleGeometryCursor(result), esriSR);
  }

  public OGCGeometry buffer(double distance) {
    OperatorBuffer op = (OperatorBuffer) OperatorFactoryLocal.getInstance()
        .getOperator(Operator.Type.Buffer);
    if (distance == 0) {// when distance is 0, return self (maybe we should
              // create a copy instead).
      return this;
    }

    double d[] = { distance };
    com.esri.core.geometry.GeometryCursor cursor = op.execute(
        getEsriGeometryCursor(), getEsriSpatialReference(), d, true,
        null);
    return OGCGeometry.createFromEsriGeometry(cursor.next(), esriSR);
  }
View Full Code Here

    return OGCGeometry.createFromEsriCursor(
        new SimpleGeometryCursor(result), esriSR);
  }

  public OGCGeometry buffer(double distance) {
    OperatorBuffer op = (OperatorBuffer) OperatorFactoryLocal.getInstance()
        .getOperator(Operator.Type.Buffer);
    if (distance == 0) {// when distance is 0, return self (maybe we should
              // create a copy instead).
      return this;
    }

    double d[] = { distance };
    com.esri.core.geometry.GeometryCursor cursor = op.execute(
        getEsriGeometryCursor(), getEsriSpatialReference(), d, true,
        null);
    return OGCGeometry.createFromEsriGeometry(cursor.next(), esriSR);
  }
View Full Code Here

TOP

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

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.