artisynth.core.mfreemodels
Class MFreeWeightFunction

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

public abstract class MFreeWeightFunction
extends java.lang.Object
implements DifferentiableFunction3x1


Constructor Summary
MFreeWeightFunction()
           
 
Method Summary
abstract  MFreeWeightFunction clone()
           
abstract  void computeCentroid(Vector3d centroid)
           
abstract  void computeIntersectionCentroid(Point3d centroid, MFreeWeightFunction fun)
           
abstract  double getIntersectionVolume(MFreeWeightFunction fun)
           
abstract  boolean intersects(MFreeWeightFunction fun)
           
abstract  boolean isInDomain(Point3d pos, double tol)
           
abstract  void updateBounds(Point3d min, Point3d max)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface maspack.function.DifferentiableFunction3x1
eval, eval, evalDerivative, evalDerivative
 
Methods inherited from interface maspack.function.MISOFunction
eval, getInputSize
 

Constructor Detail

MFreeWeightFunction

public MFreeWeightFunction()
Method Detail

clone

public abstract MFreeWeightFunction clone()
Overrides:
clone in class java.lang.Object

intersects

public abstract boolean intersects(MFreeWeightFunction fun)

getIntersectionVolume

public abstract double getIntersectionVolume(MFreeWeightFunction fun)

computeIntersectionCentroid

public abstract void computeIntersectionCentroid(Point3d centroid,
                                                 MFreeWeightFunction fun)

computeCentroid

public abstract void computeCentroid(Vector3d centroid)

updateBounds

public abstract void updateBounds(Point3d min,
                                  Point3d max)

isInDomain

public abstract boolean isInDomain(Point3d pos,
                                   double tol)