org.opensha.commons.data.xyz
Class GeoDataSetMath

java.lang.Object
  extended by org.opensha.commons.data.xyz.XYZ_DataSetMath
      extended by org.opensha.commons.data.xyz.GeoDataSetMath

public class GeoDataSetMath
extends XYZ_DataSetMath

This class does math for Geographic datasets. Comparisons are done in Locations instead of Point2D's.

Author:
kevin

Constructor Summary
GeoDataSetMath()
           
 
Method Summary
static GeoDataSet add(GeoDataSet map1, GeoDataSet map2)
          Returns new GeographicDataSetAPI that represents the values in the two given maps added together.
static GeoDataSet divide(GeoDataSet dividend, GeoDataSet divisor)
          Returns new GeographicDataSetAPI that represents the values in the minuend map minus the values in the subtrahend map.
static GeoDataSet multiply(GeoDataSet map1, GeoDataSet map2)
          Returns new GeographicDataSetAPI that represents the values in the two given maps multiplied together.
static GeoDataSet subtract(GeoDataSet minuend, GeoDataSet subtrahend)
          Returns new GeographicDataSetAPI that represents the values in the minuend map minus the values in the subtrahend map.
 
Methods inherited from class org.opensha.commons.data.xyz.XYZ_DataSetMath
add, divide, multiply, subtract
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoDataSetMath

public GeoDataSetMath()
Method Detail

add

public static GeoDataSet add(GeoDataSet map1,
                             GeoDataSet map2)
Returns new GeographicDataSetAPI that represents the values in the two given maps added together.

Parameters:
map1 -
map2 -
Returns:

subtract

public static GeoDataSet subtract(GeoDataSet minuend,
                                  GeoDataSet subtrahend)
Returns new GeographicDataSetAPI that represents the values in the minuend map minus the values in the subtrahend map.

Parameters:
map1 -
map2 -
Returns:

multiply

public static GeoDataSet multiply(GeoDataSet map1,
                                  GeoDataSet map2)
Returns new GeographicDataSetAPI that represents the values in the two given maps multiplied together.

Parameters:
map1 -
map2 -
Returns:

divide

public static GeoDataSet divide(GeoDataSet dividend,
                                GeoDataSet divisor)
Returns new GeographicDataSetAPI that represents the values in the minuend map minus the values in the subtrahend map.

Parameters:
map1 -
map2 -
Returns: