algorithmic modeling for Rhino
You can create a vector with two points, let's say p1 and p2:
Dim vec As New Vector3d(p1.X - p2.X, p1.Y - p2.Y, p1.Z - p2.Z)
And other than Vector3d.VectorAngle method in rhinocommon, attached VB component computes angle between vectors, returning + and - values as well.
Or use the subtraction operator directly:
Dim vec As Vector3d = p2 - p1
--
David Rutten
david@mcneel.com
Turku, Finland
Got it.
thx
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by