Package org.opengis.geometry

Examples of org.opengis.geometry.Boundary


                        }
                        else if (operationValue.equalsIgnoreCase("boundary")) {
                          // post process into a surface boundary
                          GeometryImpl curves = (GeometryImpl) op.getExpectedResult();
                          //MultiPrimitive curves = (MultiPrimitive) op.getExpectedResult();
                          Boundary boundary = curves.getBoundary();
                          op.setExpectedResult( boundary );
                        }
                        else if (operationValue.equalsIgnoreCase("point")) {
                          // post obj into a point
                          PointImpl point = (PointImpl) op.getExpectedResult();
View Full Code Here


    //System.out.println(ncs);
   
    // Boundaries
   
    Complex c = null;
    Boundary b = null;

    b = this.createCurve().getBoundary();
    c = b.getClosure();
    assertTrue(b == c);

    b = this.createSurface().getBoundary();
    c = b.getClosure();
    assertTrue(b == c);

  }
View Full Code Here

                          continue;
                        }
                        else if (operationValue.equalsIgnoreCase("boundary")) {
                          // post process into a surface boundary
                          MultiPrimitive curves = (MultiPrimitive) op.getExpectedResult();
                          Boundary boundary = curves.getBoundary();
                          op.setExpectedResult( boundary );
                        }
                        else if (operationValue.equalsIgnoreCase("point")) {
                          // post obj into a point
                          PointImpl point = (PointImpl) op.getExpectedResult();
View Full Code Here

    }
  /**
   * Union the various elements together and return the result.
   */
  public Boundary getBoundary() {
        Boundary bounds = null;
        for( Geometry geometry :  getElements() ){
            Boundary boundary = geometry.getBoundary();
            if (boundary != null) {
                if (bounds == null) {
                    bounds = boundary;
                }
                else {
View Full Code Here

TOP

Related Classes of org.opengis.geometry.Boundary

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.