public static final class TreeOperation.Utils
extends java.lang.Object
Constructor | Description |
---|---|
Utils() |
Modifier and Type | Method | Description |
---|---|---|
static TreeOperation |
createPipeline(TreeOperation first,
TreeOperation second) |
Creates a tree operation that first applies one tree operation and then applies a second operation to get it's result
|
static TreeOperation |
createScale(double scaleFactor,
int resultingUnits) |
Create a tree operation that scales the input tree and changes the units
|
static TreeOperation |
getNoOperation() |
public static final TreeOperation createScale(double scaleFactor, int resultingUnits)
scaleFactor
- The scaling to be doneresultingUnits
- The new unitspublic static final TreeOperation createPipeline(TreeOperation first, TreeOperation second)
first
- the first operation to applysecond
- the operation to apply on the result of the firstpublic static final TreeOperation getNoOperation()