generator2
Class DataSpace

java.lang.Object
  |
  +--generator2.DataSpace

public class DataSpace
extends java.lang.Object

Description of the dataspace.


Constructor Summary
DataSpace(DrawableObjects objects)
          DataSpace constructor.
 
Method Summary
 int getMaxX()
          Returns the maximum x-coordinate.
 int getMaxY()
          Returns the maximum y-coordinate.
 int getMinX()
          Returns the minimum x-coordinate.
 int getMinY()
          Returns the minimum y-coordinate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSpace

public DataSpace(DrawableObjects objects)
DataSpace constructor.

Parameters:
objects - container of all spatial objects
Method Detail

getMaxX

public int getMaxX()
Returns the maximum x-coordinate.

Returns:
x-coordinate

getMaxY

public int getMaxY()
Returns the maximum y-coordinate.

Returns:
y-coordinate

getMinX

public int getMinX()
Returns the minimum x-coordinate.

Returns:
x-coordinate

getMinY

public int getMinY()
Returns the minimum y-coordinate.

Returns:
y-coordinate