public abstract class RadialWeightFunction extends MFreeWeightFunction
Modifier and Type | Class and Description |
---|---|
static class |
RadialWeightFunction.RadialWeightFunctionType |
Constructor and Description |
---|
RadialWeightFunction() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evalDerivative, evalDerivative
eval, eval
public Point3d center
public double myRadius
public abstract double eval(double r2)
public abstract RadialWeightFunction clone()
clone
in class MFreeWeightFunction
public abstract RadialWeightFunction.RadialWeightFunctionType getType()
public double eval(Vector3d vec)
Function3x1
public void setRadius(double r)
public double getRadius()
public double eval(double x, double y, double z)
public double eval(VectorNd in)
Diff1Function3x1
FunctionNx1.inputSize()
.public void setCenter(Point3d c)
public Point3d getCenter()
public int inputSize()
Function3x1
public double getIntersectionVolume(RadialWeightFunction fun)
public double getIntersectionVolume(MFreeWeightFunction fun)
getIntersectionVolume
in class MFreeWeightFunction
public void computeIntersectionCentroid(Point3d centroid, RadialWeightFunction fun)
public void computeIntersectionCentroid(Point3d centroid, MFreeWeightFunction fun)
computeIntersectionCentroid
in class MFreeWeightFunction
public void computeCentroid(Vector3d centroid)
computeCentroid
in class MFreeWeightFunction
public void updateBounds(Vector3d min, Vector3d max)
updateBounds
in class MFreeWeightFunction
public boolean intersects(RadialWeightFunction fun)
public boolean intersects(MFreeWeightFunction fun)
intersects
in class MFreeWeightFunction
public static RadialWeightFunction createWeightFunction(RadialWeightFunction.RadialWeightFunctionType type, Point3d c, double radius)
public boolean isInDomain(Point3d pos, double tol)
isInDomain
in class MFreeWeightFunction