Class Punto2D

java.lang.Object
  extended by Punto2D

public class Punto2D
extends Object

Puntos en 2D.

Version:
Sep 18, 2010
Author:
Jose A. Manas

Constructor Summary
Punto2D(double x, double y)
          Constructor.
 
Method Summary
 double getX()
          Getter.
 double getY()
          Getter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Punto2D

public Punto2D(double x,
               double y)
Constructor.

Parameters:
x - abscisa.
y - ordenada.
Method Detail

getX

public double getX()
Getter.

Returns:
abscisa.

getY

public double getY()
Getter.

Returns:
ordenada.