edu.unh.sdb.lattice
Class Lattice

java.lang.Object
  extended by edu.unh.sdb.lattice.Lattice
Direct Known Subclasses:
MRLattice

public class Lattice
extends java.lang.Object


Field Summary
protected  Approximator approximator
           
protected  Geometry geometry
           
protected  boolean isCellLattice
           
protected  java.lang.String name
           
protected  Datum nullDatum
           
protected  Topology topology
           
 
Constructor Summary
Lattice(java.lang.String name, Topology t, Geometry g, Approximator a)
           
 
Method Summary
 void activate()
           
 Datum datum(Point p)
           
 GBounds getGBounds()
          Return the Bounds of the Geometry.
 java.lang.String getName()
          Return the lattice name.
 int getNumAttributes()
          Return the number of attributes for this lattice.
 RecordDescriptor getRecordDescriptor()
          Return a RecordDescriptor for datums returned by this lattice.
 ISBounds getTBounds()
          Return the Bounds of the Topology.
 void setDefaultDatum(Datum d)
          Set the datum returned when no data is available for a point in the domain.
 java.lang.String toString()
          Return a String representing the object.
 java.lang.String toString(java.lang.String indent)
          Return a String representing the object indented by the argument string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

topology

protected Topology topology

geometry

protected Geometry geometry

approximator

protected Approximator approximator

name

protected java.lang.String name

isCellLattice

protected boolean isCellLattice

nullDatum

protected Datum nullDatum
Constructor Detail

Lattice

public Lattice(java.lang.String name,
               Topology t,
               Geometry g,
               Approximator a)
Method Detail

activate

public void activate()

datum

public Datum datum(Point p)

setDefaultDatum

public void setDefaultDatum(Datum d)
Set the datum returned when no data is available for a point in the domain. The argument is not copied.


getName

public java.lang.String getName()
Return the lattice name.


getGBounds

public GBounds getGBounds()
Return the Bounds of the Geometry.


getTBounds

public ISBounds getTBounds()
Return the Bounds of the Topology.


getRecordDescriptor

public RecordDescriptor getRecordDescriptor()
Return a RecordDescriptor for datums returned by this lattice.


getNumAttributes

public int getNumAttributes()
Return the number of attributes for this lattice.


toString

public java.lang.String toString()
Return a String representing the object.

Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(java.lang.String indent)
Return a String representing the object indented by the argument string.