Examples of Point


Examples of jjil.core.Point

        byte[] bData = im.getData();
        Vector points = new Vector();
        for (int i=0; i<im.getHeight(); i++) {
            for (int j=0; j<im.getWidth(); j++) {
                if (bData[i*im.getWidth()+j] != Byte.MIN_VALUE) {
                    points.addElement(new Point(i,j));
                }
            }
        }
        this.hough.push(points);
    }
View Full Code Here

Examples of jpbrt.core.Point

    }

    @Override
    public BBox objectBound()
    {
        return new BBox( new Point(-radius, -radius, zmin),
                         new Point(radius, radius, zmax) );
    }
View Full Code Here

Examples of lejos.geom.Point

  /**
   * allocate a new Pose at the origin, heading  = 0:the direction  the positive X axis
   */
public Pose()
{
  _location = new Point(0,0);
  _heading = 0;
}
View Full Code Here

Examples of model.Point

    public void mouseClicked(MouseEvent arg0) {
       
      int y = 20-(arg0.getY()/20);
      int x = arg0.getX()/20;
     
      Point myCurrentPoint = new Point(x, y);

      if(lineToReturn != 0){
        if(y == lineToReturn){
          mot+= myPlateau.getBriqueLetter(x, y);
          word.setText(mot);
View Full Code Here

Examples of musicwriter.gui.Point

    }


    public Point getPoint()
    {
        return new Point((int) x, (int) y);
    }
View Full Code Here

Examples of net.algart.math.Point

                && ((UniformGridPattern) pattern).isActuallyRectangular())
            {
                UniformGridPattern ugPattern = (UniformGridPattern) pattern;
                ugPattern = new BasicRectangularPattern(ugPattern.originOfGrid(), ugPattern.stepsOfGrid(),
                    ugPattern.gridIndexArea().ranges());
                Point steps = Point.valueOf(ugPattern.stepsOfGrid());
                UniformGridPattern previousSummand = rectangularSummands.get(steps);
                pattern = previousSummand == null ? ugPattern : previousSummand.minkowskiAdd(ugPattern);
                if (!(pattern instanceof BasicRectangularPattern))
                    throw new AssertionError("Invalid RectangularUniformGridPattern.minkowskiAdd implementation");
                rectangularSummands.put(steps, (BasicRectangularPattern) pattern);
View Full Code Here

Examples of net.fortytwo.twitlogic.model.geo.Point

            }
        }*/

        // Note: double-typing the feature as a Point is cheating (but it works...)
        if (null != place.getCentroid()) {
            Point c = place.getCentroid();
            net.fortytwo.twitlogic.persistence.beans.Point p
                    = designate(uriOf(place), net.fortytwo.twitlogic.persistence.beans.Point.class);

            p.setLong(c.getLongitude());
            p.setLat(c.getLatitude());
        }

        return f;
    }
View Full Code Here

Examples of net.fortytwo.twitlogic.persistence.beans.Point

            } else {
                LOGGER.fine("null user for tweet: " + tweet);
            }

            if (null != tweet.getGeo()) {
                Point p = persistenceContext.persist(tweet.getGeo());

                Set<SpatialThing> s = currentMicroblogPost.getLocation();
                s.add(p);
                currentMicroblogPost.setLocation(s);
            }
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.controls.Point

     * @param symbol
     */
    public static Point drawPoint(JPanel form, int width, int height,
            int startX, int startY, int penColor, int symbol) {
        setForm(form);
        Point point = new net.helipilot50.stocktrade.displayproject.controls.Point();
        point.setVisible(true);
        ColourChange.setForeground(point, penColor);
        Widget.configure(point, startX, startY, width, height);
        Parent.set(point, form);
        processActions();
        setXPen(form, point.getX());
        setYPen(form, point.getY());
        return point;
    }
View Full Code Here

Examples of net.mygwt.ui.client.util.Point

   * @param align the element to align to
   * @param pos the position to align to
   * @param offsets the offsets or <code>null</code>
   */
  public static void alignTo(Element elem, Element align, String pos, int[] offsets) {
    Point p = getAlignToXY(elem, align, pos, offsets);
    setXY(elem, p);
  }
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.