Package eu.svjatoslav.sixth.e3d.math
Class Transform
java.lang.Object
eu.svjatoslav.sixth.e3d.math.Transform
- All Implemented Interfaces:
Cloneable
Used to represent transformation in a 3D space.
Transformations are represented as a translation and an
Orientation.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new transform with the specified translation.Creates a new transform with the specified translation and orientation.Transform(Point3D translation, Orientation orientation) Creates a new transform with the specified translation and orientation. -
Method Summary
Modifier and TypeMethodDescriptionclone()voidApplies this transform to the specified point in a 3D space.
-
Constructor Details
-
Transform
public Transform() -
Transform
Creates a new transform with the specified translation.- Parameters:
translation- the translation
-
Transform
Creates a new transform with the specified translation and orientation.- Parameters:
translation- the translationangleXZ- the angle around the XZ axisangleYZ- the angle around the YZ axis
-
Transform
Creates a new transform with the specified translation and orientation.- Parameters:
translation- the translationorientation- the orientation
-
-
Method Details