Examples of Point


Examples of com.geophile.z.spatialobject.d2.Point

                               interleave);
    }

    public static long shuffle(Space space, double x, double y)
    {
        Point point = new Point(x, y);
        long[] zValues = new long[1];
        space.decompose(point, zValues);
        long z = zValues[0];
        assert z != Space.Z_NULL;
        return z;
View Full Code Here

Examples of com.github.davidmoten.rtree.geometry.Point

        Point[] points = { point(59.0, 91.0), point(86.0, 14.0), point(36.0, 60.0),
                point(57.0, 36.0), point(14.0, 37.0) };

        RTree<Integer, Geometry> tree = RTree.create();
        for (int i = 0; i < points.length; i++) {
            Point point = points[i];
            System.out.println("point(" + point.x() + "," + point.y() + "), value=" + (i + 1));
            tree = tree.add(i + 1, point);
        }
        System.out.println(tree.asString());
        System.out.println("searching " + r);
        Set<Integer> set = new HashSet<Integer>(tree.search(r).map(RTreeTest.<Integer> toValue())
View Full Code Here

Examples of com.google.code.appengine.awt.Point

        }
        os = new EMFOutputStream(ros, imageBounds, handleManager, getCreator(),
                producer, device);
        pathConstructor = new EMFPathConstructor(os, imageBounds);

        Point orig = new Point(imageBounds.x, imageBounds.y);
        Dimension size = new Dimension(imageBounds.width, imageBounds.height);

        os.writeTag(new SetMapMode(MM_ANISOTROPIC));
        os.writeTag(new SetWindowOrgEx(orig));
        os.writeTag(new SetWindowExtEx(size));
View Full Code Here

Examples of com.google.gwt.maeglin89273.game.mengine.physics.Point

  private GameButton button;
  private WorldMenu menu;
 
  private Point mP=null;
  public WorldSelectPage(){
    super(new Point(getGameWidth()-25,25), new Point(getGameWidth()-55,25),50,
        TextAlign.RIGHT, ASBOTXConfigs.Color.DARK_GRAY);
  }
View Full Code Here

Examples of com.google.gwt.maps.client.geom.Point

      // Only set the rectangle's size if the map's size has changed
      if (!force) {
        return;
      }

      Point sw = map.convertLatLngToDivPixel(bounds.getSouthWest());
      Point ne = map.convertLatLngToDivPixel(bounds.getNorthEast());
      pane.setWidgetPosition(rectangle, Math.min(sw.getX(), ne.getX()),
          Math.min(sw.getY(), ne.getY()));

      int width = Math.abs(ne.getX() - sw.getX()) - weight;
      int height = Math.abs(ne.getY() - sw.getY()) - weight;
      rectangle.setSize(width + "px", height + "px");
    }
View Full Code Here

Examples of com.google.gwt.touch.client.Point

    context.setFillStyle(CssColor.make(0, 0, 255))
    context.setStrokeStyle(CssColor.make(0, 0, 255));   
  }

  public void onMouseUp(MouseUpEvent event) {
    double distance = getDistance(lastMouseDown, new Point(event.getX(), event.getY()));
    lastMouseDown = null;
   
    context.closePath();
    bubble.showFill(true);   
    if(distance < 5.0) {
View Full Code Here

Examples of com.googlecode.libkml.Point

    // <coordinates>1,2</coordinates>
    Coordinates coordinates = factory.CreateCoordinates();
    coordinates.add_latlng(37.0, -122.0);

    // <Point id="pt0">...
    Point point = factory.CreatePoint();
    point.set_id("pt0");
    point.set_coordinates(coordinates);

    // <Placemark id="pm123"><name>my place</name>...
    Placemark placemark = factory.CreatePlacemark();
    placemark.set_name("my placemark");
    placemark.set_id("pm123");
View Full Code Here

Examples of com.gwtmobile.ui.client.utils.Point

        if (preventDefault) {
            e.preventDefault();   //prevent default action of selecting text           
            e.stopPropagation();
        }
        //FIXME: for multi-touch platforms.
    onStart(e, new Point(e.touches().get(0).getClientX(), e.touches().get(0).getClientY()));
  }
View Full Code Here

Examples of com.impetus.kundera.gis.geometry.Point

                        try
                        {
                            double x = Double.parseDouble(xObj.toString());
                            double y = Double.parseDouble(yObj.toString());

                            Point point = new Point(x, y);
                            PropertyAccessorHelper.set(entityObject, (Field) column.getJavaMember(), point);
                        }
                        catch (NumberFormatException e)
                        {
                            log.error(
View Full Code Here

Examples of com.jgraph.gaeawt.java.awt.Point

    return cm;
  }

  public Point[] getWritableTileIndices()
  {
    Point points[] = new Point[1];
    points[0] = new Point(0, 0);
    return points;
  }
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.