Constructor and Description |
---|
CombinedTransform(java.util.Collection<Transform> transforms)
Create a new combined transformation.
|
CombinedTransform(Transform... transforms)
Create a new combined transformation.
|
Modifier and Type | Method and Description |
---|---|
Vector3 |
apply(Vector3 vector)
Returns the result of applying the function to the input.
|
Transform |
combine(Transform other)
Create a new
Transform that combines this transform with another. |
Transform |
inverse()
Create a new inverse transform.
|
boolean |
isIdentity()
Return whether this transform is an identity.
|
public CombinedTransform(Transform... transforms)
transforms
- a list of transformationspublic CombinedTransform(java.util.Collection<Transform> transforms)
transforms
- a list of transformationspublic boolean isIdentity()
Transform
If it is not known, then false
must be returned.
isIdentity
in interface Transform
public Vector3 apply(Vector3 vector)
Transform
public Transform inverse()
Transform