orientation = new Orientation();
}
+ /**
+ * Creates a new transform with the specified translation.
+ *
+ * @param translation
+ * the translation
+ */
public Transform(final Point3D translation) {
this.translation = translation;
orientation = new Orientation();
}
+ /**
+ * Creates a new transform with the specified translation and orientation.
+ *
+ * @param translation
+ * the translation
+ * @param angleXZ
+ * the angle around the XZ axis
+ * @param angleYZ
+ * the angle around the YZ axis
+ */
public Transform(final Point3D translation, final double angleXZ,
final double angleYZ) {
orientation = new Orientation(angleXZ, angleYZ);
}
+ /**
+ * Creates a new transform with the specified translation and orientation.
+ *
+ * @param translation
+ * the translation
+ * @param orientation
+ * the orientation
+ */
public Transform(final Point3D translation, final Orientation orientation) {
this.translation = translation;
this.orientation = orientation;