Examples of Boundary


Examples of de.micromata.opengis.kml.v_2_2_0.Boundary

      placemark.setGeometry(kmlPolygon);

      kmlPolygon.setExtrude(true);
      kmlPolygon.setAltitudeMode(AltitudeMode.CLAMP_TO_GROUND);

      final Boundary outerboundary = new Boundary();
      kmlPolygon.setOuterBoundaryIs(outerboundary);

      final LinearRing outerlinearring = new LinearRing();
      outerboundary.setLinearRing(outerlinearring);

      List<Coordinate> outercoord = new ArrayList<Coordinate>();
      outerlinearring.setCoordinates(outercoord);
      for (int i=0;i<polygon.getExteriorRing().getNumPoints();i++) {
        outercoord.add(new Coordinate(polygon.getExteriorRing().getPointN(i).getX(),polygon.getExteriorRing().getPointN(i).getY()));
      }
     
      int numOfInnerBoundaries = polygon.getNumInteriorRing();
      for(int i=0;i<numOfInnerBoundaries;i++)
      {
        final Boundary innerboundary = new Boundary();
        kmlPolygon.getInnerBoundaryIs().add(innerboundary);
 
        final LinearRing innerlinearring = new LinearRing();
        innerboundary.setLinearRing(innerlinearring);
 
        List<Coordinate> innercoord = new ArrayList<Coordinate>();
        innerlinearring.setCoordinates(innercoord);
        int numOfPoints = polygon.getInteriorRingN(i).getNumPoints();
        for(int j=0;j<numOfPoints;j++)
View Full Code Here

Examples of org.data2semantics.RDFmodel.Boundary

  }
 
  @Out(name="Structure codelength no-URIs",
     description="The codelength of all structural information in the data, without using URIs")
  public double cl_structure_no_uris() {
    Boundary root_b = new Boundary(); root_b.add(_ST);
    return cl_structure(root_b);
  }
View Full Code Here

Examples of org.kitesdk.data.spi.MarkerRange.Boundary

    Assert.assertTrue(bound.isLessThan(NOV));
  }

  @Test
  public void testInclusiveUpperBound() {
    Boundary bound = new Boundary(comparator, OCT, true);
    Assert.assertFalse(bound.isGreaterThan(YEAR));
    Assert.assertTrue(bound.isGreaterThan(SEPT));
    Assert.assertTrue(bound.isGreaterThan(SEPT_30));
    Assert.assertTrue(bound.isGreaterThan(OCT_12));
    Assert.assertTrue(bound.isGreaterThan(OCT));
    Assert.assertFalse(bound.isGreaterThan(NOV_1));
    Assert.assertFalse(bound.isGreaterThan(NOV));
  }
View Full Code Here

Examples of org.neo4j.gis.spatial.pipes.processing.Boundary

   
    /**
     * @see Boundary
     */
    public GeoPipeline toBoundary() {
      return addPipe(new Boundary());
    }
View Full Code Here

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

Examples of org.sbml.jsbml.ext.spatial.Boundary

        return listOfGeometryDefinitions;
      }
    } else if (contextObject instanceof CoordinateComponent) {
      CoordinateComponent cc = (CoordinateComponent) contextObject;
      if (elementName.equals(SpatialConstants.boundaryMinimum)) {
        Boundary boundary = new Boundary();
        cc.setMinimum(boundary);
        return boundary;
      } else if (elementName.equals(SpatialConstants.boundaryMaximum)) {
        Boundary boundary = new Boundary();
        cc.setMaximum(boundary);
        return boundary;
      }

    } else if (contextObject instanceof Domain) {
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.