コード例 #1
0
ファイル: Matrix4x2f.cs プロジェクト: bonomali/Ibasa
 /// <summary>
 /// Returns a matrix where each element is the smallest integral value that
 /// is greater than or equal to the specified element.
 /// </summary>
 /// <param name="value">A matrix.</param>
 /// <returns>The ceiling of value.</returns>
 public static Matrix4x2f Ceiling(Matrix4x2f value)
 {
     return(new Matrix4x2f(Functions.Ceiling(value.M11), Functions.Ceiling(value.M21), Functions.Ceiling(value.M31), Functions.Ceiling(value.M41), Functions.Ceiling(value.M12), Functions.Ceiling(value.M22), Functions.Ceiling(value.M32), Functions.Ceiling(value.M42)));
 }
コード例 #2
0
ファイル: Matrix3x2d.cs プロジェクト: bonomali/Ibasa
 /// <summary>
 /// Returns a matrix where each element is the smallest integral value that
 /// is greater than or equal to the specified element.
 /// </summary>
 /// <param name="value">A matrix.</param>
 /// <returns>The ceiling of value.</returns>
 public static Matrix3x2d Ceiling(Matrix3x2d value)
 {
     return(new Matrix3x2d(Functions.Ceiling(value.M11), Functions.Ceiling(value.M21), Functions.Ceiling(value.M31), Functions.Ceiling(value.M12), Functions.Ceiling(value.M22), Functions.Ceiling(value.M32)));
 }
コード例 #3
0
ファイル: Matrix2x3f.cs プロジェクト: bonomali/Ibasa
 /// <summary>
 /// Returns a matrix where each element is the smallest integral value that
 /// is greater than or equal to the specified element.
 /// </summary>
 /// <param name="value">A matrix.</param>
 /// <returns>The ceiling of value.</returns>
 public static Matrix2x3f Ceiling(Matrix2x3f value)
 {
     return(new Matrix2x3f(Functions.Ceiling(value.M11), Functions.Ceiling(value.M21), Functions.Ceiling(value.M12), Functions.Ceiling(value.M22), Functions.Ceiling(value.M13), Functions.Ceiling(value.M23)));
 }
コード例 #4
0
 /// <summary>
 /// Returns a matrix where each element is the smallest integral value that
 /// is greater than or equal to the specified element.
 /// </summary>
 /// <param name="value">A matrix.</param>
 /// <returns>The ceiling of value.</returns>
 public static Matrix3x4d Ceiling(Matrix3x4d value)
 {
     return(new Matrix3x4d(Functions.Ceiling(value.M11), Functions.Ceiling(value.M21), Functions.Ceiling(value.M31), Functions.Ceiling(value.M12), Functions.Ceiling(value.M22), Functions.Ceiling(value.M32), Functions.Ceiling(value.M13), Functions.Ceiling(value.M23), Functions.Ceiling(value.M33), Functions.Ceiling(value.M14), Functions.Ceiling(value.M24), Functions.Ceiling(value.M34)));
 }
コード例 #5
0
 /// <summary>
 /// Returns a complex number where each component is the smallest integral value that
 /// is greater than or equal to the specified component.
 /// </summary>
 /// <param name="value">A complex number.</param>
 /// <returns>The ceiling of value.</returns>
 public static Complex Ceiling(Complex value)
 {
     return(new Complex(
                Functions.Ceiling(value.A),
                Functions.Ceiling(value.B)));
 }
コード例 #6
0
ファイル: Matrix4x3d.cs プロジェクト: bonomali/Ibasa
 /// <summary>
 /// Returns a matrix where each element is the smallest integral value that
 /// is greater than or equal to the specified element.
 /// </summary>
 /// <param name="value">A matrix.</param>
 /// <returns>The ceiling of value.</returns>
 public static Matrix4x3d Ceiling(Matrix4x3d value)
 {
     return(new Matrix4x3d(Functions.Ceiling(value.M11), Functions.Ceiling(value.M21), Functions.Ceiling(value.M31), Functions.Ceiling(value.M41), Functions.Ceiling(value.M12), Functions.Ceiling(value.M22), Functions.Ceiling(value.M32), Functions.Ceiling(value.M42), Functions.Ceiling(value.M13), Functions.Ceiling(value.M23), Functions.Ceiling(value.M33), Functions.Ceiling(value.M43)));
 }
コード例 #7
0
 /// <summary>
 /// Returns a vector where each component is the smallest integral value that
 /// is greater than or equal to the specified component.
 /// </summary>
 /// <param name="value">A vector.</param>
 /// <returns>The ceiling of value.</returns>
 public static Vector2f Ceiling(Vector2h value)
 {
     return(new Vector2f(Functions.Ceiling(value.X), Functions.Ceiling(value.Y)));
 }