/// <summary> /// Returns a matrix where each element is the integral part of the specified element. /// </summary> /// <param name="value">A matrix.</param> /// <returns>The integral of value.</returns> public static Matrix4x2f Truncate(Matrix4x2f value) { return(new Matrix4x2f(Functions.Truncate(value.M11), Functions.Truncate(value.M21), Functions.Truncate(value.M31), Functions.Truncate(value.M41), Functions.Truncate(value.M12), Functions.Truncate(value.M22), Functions.Truncate(value.M32), Functions.Truncate(value.M42))); }
/// <summary> /// Returns a matrix where each element is the integral part of the specified element. /// </summary> /// <param name="value">A matrix.</param> /// <returns>The integral of value.</returns> public static Matrix3x2d Truncate(Matrix3x2d value) { return(new Matrix3x2d(Functions.Truncate(value.M11), Functions.Truncate(value.M21), Functions.Truncate(value.M31), Functions.Truncate(value.M12), Functions.Truncate(value.M22), Functions.Truncate(value.M32))); }
/// <summary> /// Returns a matrix where each element is the integral part of the specified element. /// </summary> /// <param name="value">A matrix.</param> /// <returns>The integral of value.</returns> public static Matrix2x3f Truncate(Matrix2x3f value) { return(new Matrix2x3f(Functions.Truncate(value.M11), Functions.Truncate(value.M21), Functions.Truncate(value.M12), Functions.Truncate(value.M22), Functions.Truncate(value.M13), Functions.Truncate(value.M23))); }
/// <summary> /// Returns a matrix where each element is the integral part of the specified element. /// </summary> /// <param name="value">A matrix.</param> /// <returns>The integral of value.</returns> public static Matrix3x4d Truncate(Matrix3x4d value) { return(new Matrix3x4d(Functions.Truncate(value.M11), Functions.Truncate(value.M21), Functions.Truncate(value.M31), Functions.Truncate(value.M12), Functions.Truncate(value.M22), Functions.Truncate(value.M32), Functions.Truncate(value.M13), Functions.Truncate(value.M23), Functions.Truncate(value.M33), Functions.Truncate(value.M14), Functions.Truncate(value.M24), Functions.Truncate(value.M34))); }
/// <summary> /// Returns a complex number where each component is the integral part of the specified component. /// </summary> /// <param name="value">A complex number.</param> /// <returns>The integral of value.</returns> public static Complex Truncate(Complex value) { return(new Complex( Functions.Truncate(value.A), Functions.Truncate(value.B))); }
/// <summary> /// Returns a matrix where each element is the integral part of the specified element. /// </summary> /// <param name="value">A matrix.</param> /// <returns>The integral of value.</returns> public static Matrix4x3d Truncate(Matrix4x3d value) { return(new Matrix4x3d(Functions.Truncate(value.M11), Functions.Truncate(value.M21), Functions.Truncate(value.M31), Functions.Truncate(value.M41), Functions.Truncate(value.M12), Functions.Truncate(value.M22), Functions.Truncate(value.M32), Functions.Truncate(value.M42), Functions.Truncate(value.M13), Functions.Truncate(value.M23), Functions.Truncate(value.M33), Functions.Truncate(value.M43))); }
/// <summary> /// Returns a vector where each component is the integral part of the specified component. /// </summary> /// <param name="value">A vector.</param> /// <returns>The integral of value.</returns> public static Vector2f Truncate(Vector2h value) { return(new Vector2f(Functions.Truncate(value.X), Functions.Truncate(value.Y))); }