projectPrototype.view.graphicEditor.graphicElement
Class Point

java.lang.Object
  extended byprojectPrototype.view.graphicEditor.graphicElement.Point

public class Point
extends java.lang.Object

Author:
Gustavo Reis e Dário Apolinário To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 double x
           
 double y
           
 
Constructor Summary
Point()
           
Point(double x, double y)
           
Point(Point p)
           
 
Method Summary
 boolean equals(Point p)
           
 void move(double dx, double dy)
           
 void setXY(double x, double y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double x

y

public double y
Constructor Detail

Point

public Point(double x,
             double y)

Point

public Point()

Point

public Point(Point p)
Method Detail

setXY

public void setXY(double x,
                  double y)

move

public void move(double dx,
                 double dy)

equals

public boolean equals(Point p)