Vector3d.linear_combination alternative form
-
Vector3d.linear_combination@unknownuser said:
In addition to the 4-argument form detailed here, you may also call this method with 6 parameters in the form of:
vec = Geom::Vector3d.linear_combination(x, xaxis, y, yaxis, z, zaxis)What does this one do?
-
Hmm I don tknow. I don't think I've ever used the 6 parameter form. It does not seem to have a way to specifiy the different vectors, so I thought it might mean (x_axis_vec1, x_axis_vec2,y_axis_vec1, y_axis_vec2,z_axis_vec1, z_axis_vec2) but that doesn't make sense because then there is no way to specify a weight.
So I am not sure...
-
It looks like it's like it's the same as the four argument version, but works with 3 vectors at once, instead of just 2.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement