Package eu.mihosoft.vrl.v3d
Class XModifier
java.lang.Object
eu.mihosoft.vrl.v3d.XModifier
- All Implemented Interfaces:
WeightFunction
Modifies along x axis.
- Author:
- Michael Hoffer <info@michaelhoffer.de>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XModifier
public XModifier()Constructor. -
XModifier
public XModifier(boolean centered) Constructor.- Parameters:
centered
- defines whether to center origin at the csg location
-
-
Method Details
-
eval
Description copied from interface:WeightFunction
Evaluates the function at the specified location.- Specified by:
eval
in interfaceWeightFunction
- Parameters:
pos
- locationcsg
- csg- Returns:
- the weight of the specified position
-