org.jscience.geography
Class TimedBoundary

java.lang.Object
  extended by org.jscience.geography.Boundary
      extended by org.jscience.geography.TimedBoundary
All Implemented Interfaces:
Positioned

public class TimedBoundary
extends Boundary

A class used to define a boundary that changes according to time frame. This is to be used for things that move.


Constructor Summary
TimedBoundary(Coord[] coords)
          Creates a new TimedBoundary object.
TimedBoundary(Coord[] coords, boolean[] boundariesIncluded)
          Creates a new TimedBoundary object.
TimedBoundary(IntervalsList dates, Coord[][] coords)
          Creates a new TimedBoundary object.
TimedBoundary(IntervalsList dates, Coord[][] coords, boolean[][] boundariesIncluded)
          Creates a new TimedBoundary object.
 
Method Summary
 boolean[] getBoundariesInclusion()
          DOCUMENT ME!
 Boundary getBoundary(int i)
          DOCUMENT ME!
 Coord[] getCoords()
          DOCUMENT ME!
 boolean[][] getDatedBoundariesInclusion()
          DOCUMENT ME!
 Coord[][] getDatedCoords()
          DOCUMENT ME!
 IntervalsList getDates()
          DOCUMENT ME!
 Boundary getDefaultBoundary()
          DOCUMENT ME!
 java.lang.Object getPosition()
          DOCUMENT ME!
 void intersection(Boundary boundary)
          DOCUMENT ME!
 void union(Boundary boundary)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedBoundary

public TimedBoundary(Coord[] coords)
Creates a new TimedBoundary object.

Parameters:
coords - DOCUMENT ME!

TimedBoundary

public TimedBoundary(Coord[] coords,
                     boolean[] boundariesIncluded)
Creates a new TimedBoundary object.

Parameters:
coords - DOCUMENT ME!
boundariesIncluded - DOCUMENT ME!

TimedBoundary

public TimedBoundary(IntervalsList dates,
                     Coord[][] coords)
Creates a new TimedBoundary object.

Parameters:
dates - DOCUMENT ME!
coords - DOCUMENT ME!

TimedBoundary

public TimedBoundary(IntervalsList dates,
                     Coord[][] coords,
                     boolean[][] boundariesIncluded)
Creates a new TimedBoundary object.

Parameters:
dates - DOCUMENT ME!
coords - DOCUMENT ME!
boundariesIncluded - DOCUMENT ME!
Method Detail

getDefaultBoundary

public Boundary getDefaultBoundary()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getBoundary

public Boundary getBoundary(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IndexOutOfBoundsException - DOCUMENT ME!

getDates

public IntervalsList getDates()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDatedCoords

public Coord[][] getDatedCoords()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDatedBoundariesInclusion

public boolean[][] getDatedBoundariesInclusion()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getPosition

public java.lang.Object getPosition()
DOCUMENT ME!

Specified by:
getPosition in interface Positioned
Overrides:
getPosition in class Boundary
Returns:
DOCUMENT ME!

getCoords

public Coord[] getCoords()
DOCUMENT ME!

Overrides:
getCoords in class Boundary
Returns:
DOCUMENT ME!

getBoundariesInclusion

public boolean[] getBoundariesInclusion()
DOCUMENT ME!

Overrides:
getBoundariesInclusion in class Boundary
Returns:
DOCUMENT ME!

union

public void union(Boundary boundary)
DOCUMENT ME!

Overrides:
union in class Boundary
Parameters:
boundary - DOCUMENT ME!

intersection

public void intersection(Boundary boundary)
DOCUMENT ME!

Parameters:
boundary - DOCUMENT ME!