org.gcube.indexmanagement.geo.shape
Class Point

java.lang.Object
  extended by org.gcube.indexmanagement.geo.shape.Point

public class Point
extends Object

A java representation of a point on a two dimentional plane


Constructor Summary
Point(long x, long y)
          A constructor which creates a point from an x,y coordinate pair
 
Method Summary
 long getX()
          Getter method for the points X coordinate
 long getY()
          Getter method for the points Y coordinate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

public Point(long x,
             long y)
A constructor which creates a point from an x,y coordinate pair

Parameters:
x - - The X coordinate of the point to be created
y - - The Y coordinate of the point to be created
Method Detail

getX

public long getX()
Getter method for the points X coordinate

Returns:
the points X coordinate

getY

public long getY()
Getter method for the points Y coordinate

Returns:
the points Y coordinate


Copyright © 2012. All Rights Reserved.