fr.cnes.sitools.dataset.model.geometry
Class Point

java.lang.Object
  extended by fr.cnes.sitools.dataset.model.geometry.Point

public class Point
extends java.lang.Object

Class to store 2D point object

Author:
m.gond

Constructor Summary
Point()
          Default constructor
Point(double x, double y)
          Constructor with x and y value
 
Method Summary
 double getX()
          Gets the x value
 double getY()
          Gets the y value
 void setX(double x)
          Sets the value of x
 void setY(double y)
          Sets the value of y
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

public Point()
Default constructor


Point

public Point(double x,
             double y)
Constructor with x and y value

Parameters:
x - the x coordinates
y - the y coordinates
Method Detail

getX

public double getX()
Gets the x value

Returns:
the x

setX

public void setX(double x)
Sets the value of x

Parameters:
x - the x to set

getY

public double getY()
Gets the y value

Returns:
the y

setY

public void setY(double y)
Sets the value of y

Parameters:
y - the y to set


Copyright © 2010-2013 CNES. All Rights Reserved.