public class WireSurfacePiecewiseConstant
extends java.lang.Object
| Constructor and Description |
|---|
WireSurfacePiecewiseConstant(double[] adblX,
double[] adblY,
double[][] aadblResponse)
WireSurfacePiecewiseConstant Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
enclosingXIndex(double dblX)
Enclosing X Index
|
int |
enclosingYIndex(double dblY)
Enclosing Y Index
|
double |
responseValue(double dblX,
double dblY)
Compute the Bivariate Surface Response Value
|
public WireSurfacePiecewiseConstant(double[] adblX,
double[] adblY,
double[][] aadblResponse)
throws java.lang.Exception
adblX - Array of the X OrdinatesadblY - Array of the Y OrdinatesaadblResponse - Double Array of the Responses corresponding to {X, Y}java.lang.Exception - Thrown if the Inputs are invalidpublic int enclosingXIndex(double dblX)
throws java.lang.Exception
dblX - The X Ordinatejava.lang.Exception - Thrown if the Inputs are Invalidpublic int enclosingYIndex(double dblY)
throws java.lang.Exception
dblY - The Y Ordinatejava.lang.Exception - Thrown if the Inputs are Invalidpublic double responseValue(double dblX,
double dblY)
throws java.lang.Exception
dblX - XdblY - Yjava.lang.Exception - Thrown if Inputs are Invalid