JavaCAD
|
Public Member Functions | |
ZModifier () | |
ZModifier (boolean centered) | |
double | eval (Vector3d pos, CSG csg) |
Private Attributes | |
Bounds | bounds |
double | min = 0 |
double | max = 1.0 |
double | sPerUnit |
boolean | centered |
Modifies along z axis.
Definition at line 14 of file ZModifier.java.
eu.mihosoft.vrl.v3d.ZModifier.ZModifier | ( | ) |
Constructor.
Definition at line 34 of file ZModifier.java.
eu.mihosoft.vrl.v3d.ZModifier.ZModifier | ( | boolean | centered | ) |
Constructor.
centered | defines whether to center origin at the csg location |
Definition at line 42 of file ZModifier.java.
References eu.mihosoft.vrl.v3d.ZModifier.centered.
Evaluates the function at the specified location.
v | location |
csg | csg |
Implements eu.mihosoft.vrl.v3d.WeightFunction.
Definition at line 50 of file ZModifier.java.
References eu.mihosoft.vrl.v3d.ZModifier.bounds, eu.mihosoft.vrl.v3d.ZModifier.centered, eu.mihosoft.vrl.v3d.CSG.getBounds(), eu.mihosoft.vrl.v3d.Bounds.getMax(), eu.mihosoft.vrl.v3d.Bounds.getMin(), eu.mihosoft.vrl.v3d.ZModifier.max, eu.mihosoft.vrl.v3d.ZModifier.min, eu.mihosoft.vrl.v3d.ZModifier.sPerUnit, and eu.mihosoft.vrl.v3d.Vector3d.z().
|
private |
The bounds.
Definition at line 17 of file ZModifier.java.
Referenced by eu.mihosoft.vrl.v3d.ZModifier.eval().
|
private |
The centered.
Definition at line 29 of file ZModifier.java.
Referenced by eu.mihosoft.vrl.v3d.ZModifier.eval(), and eu.mihosoft.vrl.v3d.ZModifier.ZModifier().
|
private |
The max.
Definition at line 23 of file ZModifier.java.
Referenced by eu.mihosoft.vrl.v3d.ZModifier.eval().
|
private |
The min.
Definition at line 20 of file ZModifier.java.
Referenced by eu.mihosoft.vrl.v3d.ZModifier.eval().
|
private |
The s per unit.
Definition at line 26 of file ZModifier.java.
Referenced by eu.mihosoft.vrl.v3d.ZModifier.eval().