uaa.feral.physical
Class HydrologicalUnit

java.lang.Object
  extended by uaa.feral.physical.HydrologicalUnit

public class HydrologicalUnit
extends java.lang.Object

Class representing any physical hydrological system

Author:
Mark Altaweel

Constructor Summary
HydrologicalUnit(com.vividsolutions.jts.geom.Geometry geometry, gov.nasa.worldwind.render.Renderable renderable)
           
 
Method Summary
 double calculateDailyVolumeFromDischarge()
          Method run in order to find daily volume if you have discharge only
 double getAmplitude()
           
 double getAverageMeanderLength()
           
 double getBankfullWidth()
           
 double getDischarge()
           
 double getDistanceToTown()
           
 com.vividsolutions.jts.geom.Geometry getGeometry()
           
 int getIdentification()
           
 java.lang.String getName()
           
 double getQuality()
           
 double getRecharge()
           
 gov.nasa.worldwind.render.Renderable getRenderable()
           
 double getSlope()
           
 int getTimesVisited()
           
 double getVolume()
           
 double getWaterWidth()
           
 boolean isMunicipalSource()
           
 void setAmplitude(double amplitude)
           
 void setAverageMeanderLength(double averageMeanderLength)
           
 void setBankfullWidth(double bankfullWidth)
           
 void setDischarge(double discharge)
           
 void setDistanceToTown(double distanceToTown)
           
 void setGeometry(com.vividsolutions.jts.geom.Geometry geometry)
           
 void setIdentification(int id)
           
 void setMunicipalSource(boolean isMunicipalSource)
           
 void setName(java.lang.String name)
           
 void setQuality(double quality)
           
 void setRecharge(double recharge)
           
 void setRenderable(gov.nasa.worldwind.render.Renderable shape)
           
 void setSlope(double slope)
           
 void setTimesVisited(int timesVisited)
           
 void setVolume(double volume)
           
 void setWaterWidth(double channelWidth)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HydrologicalUnit

public HydrologicalUnit(com.vividsolutions.jts.geom.Geometry geometry,
                        gov.nasa.worldwind.render.Renderable renderable)
Method Detail

getGeometry

public com.vividsolutions.jts.geom.Geometry getGeometry()

setGeometry

public void setGeometry(com.vividsolutions.jts.geom.Geometry geometry)

getDischarge

public double getDischarge()

setDischarge

public void setDischarge(double discharge)

getRecharge

public double getRecharge()

setRecharge

public void setRecharge(double recharge)

getVolume

public double getVolume()

setVolume

public void setVolume(double volume)

getIdentification

public int getIdentification()

setIdentification

public void setIdentification(int id)

getQuality

public double getQuality()

setQuality

public void setQuality(double quality)

getAmplitude

public double getAmplitude()

setAmplitude

public void setAmplitude(double amplitude)

getRenderable

public gov.nasa.worldwind.render.Renderable getRenderable()

setRenderable

public void setRenderable(gov.nasa.worldwind.render.Renderable shape)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

isMunicipalSource

public boolean isMunicipalSource()

setMunicipalSource

public void setMunicipalSource(boolean isMunicipalSource)

getAverageMeanderLength

public double getAverageMeanderLength()

setAverageMeanderLength

public void setAverageMeanderLength(double averageMeanderLength)

getSlope

public double getSlope()

setSlope

public void setSlope(double slope)

getWaterWidth

public double getWaterWidth()

setWaterWidth

public void setWaterWidth(double channelWidth)

getBankfullWidth

public double getBankfullWidth()

setBankfullWidth

public void setBankfullWidth(double bankfullWidth)

calculateDailyVolumeFromDischarge

public double calculateDailyVolumeFromDischarge()
Method run in order to find daily volume if you have discharge only

Returns:
volume based on discharge rate

getDistanceToTown

public double getDistanceToTown()

setDistanceToTown

public void setDistanceToTown(double distanceToTown)

getTimesVisited

public int getTimesVisited()

setTimesVisited

public void setTimesVisited(int timesVisited)