public class SplineWeightFunction extends RadialWeightFunction
RadialWeightFunction.RadialWeightFunctionType
Modifier and Type | Field and Description |
---|---|
int |
DEFAULT_CONTINUITY |
double |
DEFAULT_RADIUS |
center, myRadius
Constructor and Description |
---|
SplineWeightFunction(Point3d x) |
SplineWeightFunction(Point3d x,
double rho) |
SplineWeightFunction(Point3d x,
double rho,
int C) |
Modifier and Type | Method and Description |
---|---|
SplineWeightFunction |
clone() |
double |
eval(double r2) |
double |
eval(Vector3d deriv,
Vector3d pnt)
Evaluates this function for the specified inputs.
|
double |
evalDerivative(double x,
double y,
double z,
int dx,
int dy,
int dz)
Evaluates 1st and 2nd order derivatives, one at a time.
|
double |
evalDerivative(Point3d in,
int[] derivatives)
Evaluates 1st and 2nd order derivatives, one at a time.
|
int |
getContinuity() |
RadialWeightFunction.RadialWeightFunctionType |
getType() |
void |
setContinuity(int C) |
void |
setRadius(double rho) |
computeCentroid, computeIntersectionCentroid, computeIntersectionCentroid, createWeightFunction, eval, eval, eval, getCenter, getIntersectionVolume, getIntersectionVolume, getRadius, inputSize, intersects, intersects, isInDomain, setCenter, updateBounds
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eval
public int DEFAULT_CONTINUITY
public double DEFAULT_RADIUS
public SplineWeightFunction(Point3d x)
public SplineWeightFunction(Point3d x, double rho)
public SplineWeightFunction(Point3d x, double rho, int C)
public double eval(double r2)
eval
in class RadialWeightFunction
public double eval(Vector3d deriv, Vector3d pnt)
Diff1Function3x1
deriv
is not
null
, the derivative is also computed and returned in this
argument.deriv
- if not null
, returns the derivative valuespnt
- function input valuespublic void setRadius(double rho)
setRadius
in class RadialWeightFunction
public void setContinuity(int C)
public int getContinuity()
public SplineWeightFunction clone()
clone
in class RadialWeightFunction
public double evalDerivative(Point3d in, int[] derivatives)
Diff2Function3x1
public double evalDerivative(double x, double y, double z, int dx, int dy, int dz)
Diff2Function3x1
public RadialWeightFunction.RadialWeightFunctionType getType()
getType
in class RadialWeightFunction