Grasshopper

algorithmic modeling for Rhino

Hi,

Is there a Rhino SDK function to compute the cross product of 2 vectors or do we have to create a plane containing the 2 vectors and then read the normal from that?

Thanks.

Views: 1623

Replies to This Discussion

Hi Kermin,

OnUtil.ON_CrossProduct()

Cheers
Emilio
Yup.
Thanks. I forgot about the OnUtil section.
In RhinoCommon you'll be able to find functions like these in more predictable places.

Vector3d.CrossProduct, Curve.CreateOffset etc. We know things like OnUtil and RhUtil are terrible.

--
David Rutten
david@mcneel.com
Poprad, Slovakia

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service