org.opensha.refFaultParamDb.dao.db
Class SpatialUtils

java.lang.Object
  extended by org.opensha.refFaultParamDb.dao.db.SpatialUtils

public class SpatialUtils
extends java.lang.Object


Constructor Summary
SpatialUtils()
           
 
Method Summary
static oracle.spatial.geometry.JGeometry getMultiPointGeomtery(java.util.List<Location> locs)
          Create JGeomtery object from FaultTrace
static oracle.spatial.geometry.JGeometry getSinglePointGeometry(Location loc)
           
static LocationList loadMultiPointGeometries(oracle.spatial.geometry.JGeometry geom, double depth)
           
static Location loadSinglePointGeometry(oracle.spatial.geometry.JGeometry geom, double depth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpatialUtils

public SpatialUtils()
Method Detail

getMultiPointGeomtery

public static oracle.spatial.geometry.JGeometry getMultiPointGeomtery(java.util.List<Location> locs)
Create JGeomtery object from FaultTrace

Parameters:
faultTrace -
Returns:

loadMultiPointGeometries

public static LocationList loadMultiPointGeometries(oracle.spatial.geometry.JGeometry geom,
                                                    double depth)

getSinglePointGeometry

public static oracle.spatial.geometry.JGeometry getSinglePointGeometry(Location loc)

loadSinglePointGeometry

public static Location loadSinglePointGeometry(oracle.spatial.geometry.JGeometry geom,
                                               double depth)