类 ITransformation<Vector,Transformation extends ITransformation<Vector,Transformation>>
java.lang.Object
committee.nova.mods.avaritia.api.util.vec.ITransformation<Vector,Transformation>
- 类型参数:
Vector- The vector typeTransformation- The transformation type
- 所有已实现的接口:
Copyable<Transformation>
- 直接已知子类:
Transformation,UVTransformation
public abstract class ITransformation<Vector,Transformation extends ITransformation<Vector,Transformation>>
extends Object
implements Copyable<Transformation>
Abstract supertype for any VectorN transformation
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Scala ++ operatorabstract voidApplies this transformation to vecabstract Transformationabstract Transformationinverse()Attempts to invert the Transformation.booleanReturns true if this transformation is redundant, eg.merge(Transformation next) Returns a simplified transformation that performs this, followed by next.abstract TransformationCreates a TransformationList composed of this transformation followed by t If this is a TransformationList, the transformation will be appended and this returned
-
构造器详细资料
-
ITransformation
public ITransformation()
-
-
方法详细资料
-
apply
Applies this transformation to vec -
at
- 参数:
point- The point to apply this transformation around- 返回:
- Wraps this transformation in a translation to point and then back from point
-
with
Creates a TransformationList composed of this transformation followed by t If this is a TransformationList, the transformation will be appended and this returned -
merge
Returns a simplified transformation that performs this, followed by next. If such a transformation does not exist, returns null -
isRedundant
public boolean isRedundant()Returns true if this transformation is redundant, eg. Scale(1, 1, 1), Translation(0, 0, 0) or Rotation(0, a, b, c) -
inverse
Attempts to invert the Transformation.The transformations inverse may be itself, or the transform may not have an inverse. In that case a
IrreversibleTransformationExceptionis thrown.- 返回:
- The inverse transform.
- 抛出:
IrreversibleTransformationException- If the transform does not have an inverse.
-
$plus$plus
Scala ++ operator
-