コード例 #1
0
ファイル: Vector.cs プロジェクト: VB6Hobbyst7/MPT.Net
 /// <summary>
 /// Returns the angle [radians] between the two vectors.
 /// </summary>
 /// <param name="vector">The vector.</param>
 /// <returns>System.Double.</returns>
 public double Angle(Vector vector)
 {
     return(VectorLibrary.Angle(this, vector));
 }
コード例 #2
0
ファイル: Vector.cs プロジェクト: VB6Hobbyst7/MPT.Net
 /// <summary>
 /// Returns the angle [radians] of a vector from the origin axis (x, positive, +ccw).
 /// </summary>
 /// <returns>System.Double.</returns>
 public double Angle()
 {
     return(VectorLibrary.Angle(Ycomponent, Xcomponent));
 }