public static double[] quaternionToEuler(Quaternion_F64 q , EulerType type , double []euler ) {
    """
	<p>Converts a quaternion into an euler rotation of different types</p>
	
	@param q (Input) Normalized quaternion. Not modified.
	@param type Type of Euler rotation
	@param euler (Output) Optional storage for Euler rotation
	@return The Euler rotation.
    """
		DMatrixRMaj R = quaternionToMatrix(q,null);
		return matrixToEuler(R,type,euler);
	}
public static double[] quaternionToEuler(Quaternion_F64 q , EulerType type , double []euler )
	{
		DMatrixRMaj R = quaternionToMatrix(q,null);
		return matrixToEuler(R,type,euler);
	}
public static double [ ] quaternionToEuler ( Quaternion_F64 q , EulerType type , double [ ] euler ) { DMatrixRMaj R = quaternionToMatrix ( q , null ) ; return matrixToEuler ( R , type , euler ) ; }
<p>Converts a quaternion into an euler rotation of different types</p>

@param q (Input) Normalized quaternion. Not modified.
@param type Type of Euler rotation
@param euler (Output) Optional storage for Euler rotation
@return The Euler rotation.
<p > Converts a quaternion into an euler rotation of different types< / p >