コード例 #1
0
 /// <summary>
 /// Subtracts a rotation from a scalar value.
 /// </summary>
 public static Rot2d operator -(Rot2d rot, double angle)
 {
     return(Rot2d.Subtract(rot, angle));
 }
コード例 #2
0
 /// <summary>
 /// Subtracts a rotation from a scalar value.
 /// </summary>
 public static Rot2d operator -(double angle, Rot2d rot)
 {
     return(Rot2d.Subtract(angle, rot));
 }
コード例 #3
0
 /// <summary>
 /// Subtracts 2 rotations.
 /// </summary>
 public static Rot2d operator -(Rot2d r0, Rot2d r1)
 {
     return(Rot2d.Subtract(r0, r1));
 }