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