public final class TransformationFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static ITransformation |
getIdentityMatrix()
Creates an identity transformation matrix.
|
static ITransformation |
getMirrorMatrix(Direction direction)
Returns with a transformation representing a mirror on the given direction.
|
static ITransformation |
getRotationMatrix(Angles3d angles)
Returns with a transformation representing a rotation by the given angle.
|
static ITransformation |
getScaleMatrix(Abstract3d values)
Returns with a transformation representing a scaling by the given values.
|
static ITransformation |
getScaleMatrix(double x,
double y,
double z)
Returns with a transformation representing a scaling by the given values.
|
static ITransformation |
getTranlationMatrix(Abstract3d delta)
Returns with a transformation representing a move by the given vector.
|
public static ITransformation getTranlationMatrix(Abstract3d delta)
delta - the vector of the movepublic static ITransformation getRotationMatrix(Angles3d angles)
angles - the vector of the rotationpublic static ITransformation getScaleMatrix(Abstract3d values)
values - the vector to be used for the scalingpublic static ITransformation getScaleMatrix(double x, double y, double z)
x - the scale on the X axisy - the scale on the Y axisz - the scale on the Z axispublic static ITransformation getMirrorMatrix(Direction direction)
direction - the direction of the mirroringpublic static ITransformation getIdentityMatrix()
Copyright © 2014–2020, Printing in 3D. All rights reserved.