tools
Class Point

java.lang.Object
  |
  +--tools.Point

public class Point
extends java.lang.Object

A Point represents a point in a 2D space.


Constructor Summary
Point(float x, float y)
          Creates new Point
 
Method Summary
 float getX()
          get the x coordinate of this point
 float getY()
          get the y coordinate of this point
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Point

public Point(float x,
             float y)
Creates new Point
Method Detail

getX

public float getX()
get the x coordinate of this point

getY

public float getY()
get the y coordinate of this point

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object