Package com.esri.core.geometry

Examples of com.esri.core.geometry.OperatorSimplify


   * Extension method - checks if geometry is simple for Geodatabase.
   *
   * @return Returns true if geometry is simple, false otherwise.
   */
  public boolean isSimpleRelaxed() {
    OperatorSimplify op = (OperatorSimplify) OperatorFactoryLocal
        .getInstance().getOperator(Operator.Type.Simplify);
    return op
        .isSimpleAsFeature(getEsriGeometry(), esriSR, true, null, null);
  }
View Full Code Here


   * Makes a simple geometry for Geodatabase.
   *
   * @return Returns simplified geometry.
   */
  public OGCGeometry MakeSimpleRelaxed(boolean forceProcessing) {
    OperatorSimplify op = (OperatorSimplify) OperatorFactoryLocal
        .getInstance().getOperator(Operator.Type.Simplify);
    return OGCGeometry.createFromEsriGeometry(
        op.execute(getEsriGeometry(), esriSR, forceProcessing, null),
        esriSR);
  }
View Full Code Here

   * Extension method - checks if geometry is simple for Geodatabase.
   *
   * @return Returns true if geometry is simple, false otherwise.
   */
  public boolean isSimpleRelaxed() {
    OperatorSimplify op = (OperatorSimplify) OperatorFactoryLocal
        .getInstance().getOperator(Operator.Type.Simplify);
    return op
        .isSimpleAsFeature(getEsriGeometry(), esriSR, true, null, null);
  }
View Full Code Here

   * Makes a simple geometry for Geodatabase.
   *
   * @return Returns simplified geometry.
   */
  public OGCGeometry MakeSimpleRelaxed(boolean forceProcessing) {
    OperatorSimplify op = (OperatorSimplify) OperatorFactoryLocal
        .getInstance().getOperator(Operator.Type.Simplify);
    return OGCGeometry.createFromEsriGeometry(
        op.execute(getEsriGeometry(), esriSR, forceProcessing, null),
        esriSR);
  }
View Full Code Here

   * @return Returns true if geometry is simple, false otherwise.
   *
   * Note: If isSimpleRelaxed is true, then isSimple is either true or false. Geodatabase has more relaxed requirements for simple geometries than OGC.
   */
  public boolean isSimpleRelaxed() {
    OperatorSimplify op = (OperatorSimplify) OperatorFactoryLocal
        .getInstance().getOperator(Operator.Type.Simplify);
    return op.isSimpleAsFeature(getEsriGeometry(), esriSR, true, null, null);
  }
View Full Code Here

   * @return Returns simplified geometry.
   *
   * Note: isSimpleRelaxed should return true after this operation.
   */
  public OGCGeometry makeSimpleRelaxed(boolean forceProcessing) {
    OperatorSimplify op = (OperatorSimplify) OperatorFactoryLocal
        .getInstance().getOperator(Operator.Type.Simplify);
    return OGCGeometry.createFromEsriGeometry(
        op.execute(getEsriGeometry(), esriSR, forceProcessing, null),
        esriSR);
  }
View Full Code Here

TOP

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

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.