algorithmic modeling for Rhino
Hi,
I'd like to calculate matrix multiplication by scripting C# in grasshopper.
I tried Matrix.Multiply method but get this massage,
'Multiply' does not contain a definition for 'Rhino.Geometry.Matrix'
Is there any solution for this ?
Best regards,
Shimpei
Tags:
If you are using Rhino.Geometry.Matrix instances, you should just be able to use the multiply operator *
Matrix a = ...;
Matrix b = ...;
Matrix c = a * b;
As long as a and b are multipliable, it will work.
Dear David,
Thank you for reply!
It works very smoothly!
Best,
Shimpei
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by