Exemplo n.º 1
0
 /// <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));
 }
Exemplo n.º 2
0
 /// <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));
 }