Class CombinedTransform
java.lang.Object
com.sk89q.worldedit.math.transform.CombinedTransform
- All Implemented Interfaces:
Transform
Combines several transforms in order.
-
Constructor Summary
ConstructorsConstructorDescriptionCombinedTransform
(Transform... transforms) Create a new combined transformation.CombinedTransform
(Collection<Transform> transforms) Create a new combined transformation. -
Method Summary
-
Constructor Details
-
CombinedTransform
Create a new combined transformation.- Parameters:
transforms
- a list of transformations
-
CombinedTransform
Create a new combined transformation.- Parameters:
transforms
- a list of transformations
-
-
Method Details
-
isIdentity
public boolean isIdentity()Description copied from interface:Transform
Return whether this transform is an identity.If it is not known, then
false
must be returned.- Specified by:
isIdentity
in interfaceTransform
- Returns:
- true if identity
-
apply
Description copied from interface:Transform
Returns the result of applying the function to the input. -
inverse
Description copied from interface:Transform
Create a new inverse transform. -
combine
Description copied from interface:Transform
Create a newTransform
that combines this transform with another.
-