artisynth.core.mfreemodels
Class CInfinityWeightFunction
java.lang.Object
artisynth.core.mfreemodels.MFreeWeightFunction
artisynth.core.mfreemodels.RadialWeightFunction
artisynth.core.mfreemodels.CInfinityWeightFunction
- All Implemented Interfaces:
- DifferentiableFunction3x1, Function3x1, MISOFunction
public class CInfinityWeightFunction
- extends RadialWeightFunction
Methods inherited from class artisynth.core.mfreemodels.RadialWeightFunction |
computeCentroid, computeIntersectionCentroid, computeIntersectionCentroid, createWeightFunction, eval, eval, eval, getCenter, getInputSize, getIntersectionVolume, getIntersectionVolume, getRadius, intersects, intersects, isInDomain, setCenter, updateBounds |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPSILON
public static double EPSILON
DEFAULT_RADIUS
public double DEFAULT_RADIUS
CInfinityWeightFunction
public CInfinityWeightFunction(Point3d x)
CInfinityWeightFunction
public CInfinityWeightFunction(Point3d x,
double rho)
eval
public double eval(double r2)
- Specified by:
eval
in class RadialWeightFunction
setRadius
public void setRadius(double rho)
- Overrides:
setRadius
in class RadialWeightFunction
clone
public CInfinityWeightFunction clone()
- Specified by:
clone
in class RadialWeightFunction
evalDerivative
public double evalDerivative(Point3d in,
int[] derivatives)
evalDerivative
public double evalDerivative(double x,
double y,
double z,
int dx,
int dy,
int dz)
getType
public RadialWeightFunction.RadialWeightFunctionType getType()
- Specified by:
getType
in class RadialWeightFunction