org.opensha.refFaultParamDb.calc.sectionDists
Class SmartSurfaceFilter

java.lang.Object
  extended by org.opensha.refFaultParamDb.calc.sectionDists.SmartSurfaceFilter
All Implemented Interfaces:
SurfaceFilter

public class SmartSurfaceFilter
extends Object
implements SurfaceFilter


Constructor Summary
SmartSurfaceFilter(int outlineModulus, int internalModulus, double cornerMidptDistFilter)
           
 
Method Summary
 double getCornerMidptFilterDist()
           
 int getInternalModulus()
           
 int getOutlineModulus()
           
 boolean isIncluded(EvenlyGriddedSurface surface, int row, int col)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartSurfaceFilter

public SmartSurfaceFilter(int outlineModulus,
                          int internalModulus,
                          double cornerMidptDistFilter)
Method Detail

isIncluded

public boolean isIncluded(EvenlyGriddedSurface surface,
                          int row,
                          int col)
Specified by:
isIncluded in interface SurfaceFilter

getCornerMidptFilterDist

public double getCornerMidptFilterDist()
Specified by:
getCornerMidptFilterDist in interface SurfaceFilter

getInternalModulus

public int getInternalModulus()

getOutlineModulus

public int getOutlineModulus()