public class XModifier extends java.lang.Object implements WeightFunction
Constructor and Description |
---|
XModifier()
Constructor.
|
XModifier(boolean centered)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
eval(eu.mihosoft.vvecmath.Vector3d pos,
CSG csg)
Evaluates the function at the specified location.
|
public XModifier()
public XModifier(boolean centered)
centered
- defines whether to center origin at the csg locationpublic double eval(eu.mihosoft.vvecmath.Vector3d pos, CSG csg)
WeightFunction
eval
in interface WeightFunction
pos
- locationcsg
- csg