org.jscience.geography
Class Boundary

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

public class Boundary
extends java.lang.Object
implements Positioned

A class representing a boundary.


Constructor Summary
Boundary()
          Creates a new Boundary object.
Boundary(Coord[] coords)
          Creates a new Boundary object.
Boundary(Coord[] coords, boolean[] boundariesIncluded)
          Creates a new Boundary object.
 
Method Summary
 boolean[] getBoundariesInclusion()
          DOCUMENT ME!
 Coord[] getCoords()
          DOCUMENT ME!
 java.lang.Object getPosition()
          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

Boundary

public Boundary()
Creates a new Boundary object.


Boundary

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

Parameters:
coords - DOCUMENT ME!

Boundary

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

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

getPosition

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

Specified by:
getPosition in interface Positioned
Returns:
DOCUMENT ME!

getCoords

public Coord[] getCoords()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getBoundariesInclusion

public boolean[] getBoundariesInclusion()
DOCUMENT ME!

Returns:
DOCUMENT ME!

union

public void union(Boundary boundary)
DOCUMENT ME!

Parameters:
boundary - DOCUMENT ME!