artisynth.core.mfreemodels
Class CInfinityWeightFunction

java.lang.Object
  extended by artisynth.core.mfreemodels.MFreeWeightFunction
      extended by artisynth.core.mfreemodels.RadialWeightFunction
          extended by artisynth.core.mfreemodels.CInfinityWeightFunction
All Implemented Interfaces:
DifferentiableFunction3x1, Function3x1, MISOFunction

public class CInfinityWeightFunction
extends RadialWeightFunction


Nested Class Summary
 
Nested classes/interfaces inherited from class artisynth.core.mfreemodels.RadialWeightFunction
RadialWeightFunction.RadialWeightFunctionType
 
Field Summary
 double DEFAULT_RADIUS
           
static double EPSILON
           
 
Fields inherited from class artisynth.core.mfreemodels.RadialWeightFunction
center, myRadius
 
Constructor Summary
CInfinityWeightFunction(Point3d x)
           
CInfinityWeightFunction(Point3d x, double rho)
           
 
Method Summary
 CInfinityWeightFunction clone()
           
 double eval(double r2)
           
 double evalDerivative(double x, double y, double z, int dx, int dy, int dz)
           
 double evalDerivative(Point3d in, int[] derivatives)
           
 RadialWeightFunction.RadialWeightFunctionType getType()
           
 void setRadius(double rho)
           
 
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
 

Field Detail

EPSILON

public static double EPSILON

DEFAULT_RADIUS

public double DEFAULT_RADIUS
Constructor Detail

CInfinityWeightFunction

public CInfinityWeightFunction(Point3d x)

CInfinityWeightFunction

public CInfinityWeightFunction(Point3d x,
                               double rho)
Method Detail

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