I try to find the angel between two lines in GH With a C# code, I have tried with AngleVector… but does anybody know how it Works?
I have tried these Versions:
I try to find the angel between two lines in GH With a C# code, I have tried with AngleVector… but does anybody know how it Works?
I have tried these Versions:
Given two vectors - which you already use in your example - it gives the angle in Radians. You may have to check the resulting numbers to figure out how it represents this angle.
There are three variants of this method. Often you want the angles to be calculated relative to a plane:
https://developer.rhino3d.com/api/RhinoCommon/html/Overload_Rhino_Geometry_Vector3d_VectorAngle.htm
// Rolf
VectorAngle method is a static method,So you only need the Vector3d.VectorAngle() call.like this.
thanks! it worked:)