Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8680

Compound transformation equivivalent in C#

$
0
0

@Petras_Vestartas wrote:

Hi,

If I have several Transformation Matrices:

1)Orientation
2)Rotation
3)And 3 translations

Is there a possibility to merge all those matrices into one?

In grasshopper I used compound component to merge several matrices.

But using rhinocommon I tried to multiply matrices and it does not produce same result, for instance in this example I did not include translation, but still not producing what gh does with compound:

Transform mergedMatrix = Transform.Multiply(Orientation, Rotation);

What is correct way of joining matrices?

Posts: 9

Participants: 5

Read full topic


Viewing all articles
Browse latest Browse all 8680