How to apply 4x4 transformation matrix to 3D point?

Rafael G S shared this question 3 months ago
Answered

I have the following 4x4 transformation matrix:

{
  { cos(θ), -sin(θ),  0, x * (1 - cos(θ)) + y * sin(θ) },
  { sin(θ),  cos(θ),  0, y * (1 - cos(θ)) - x * sin(θ) },
  {        0,         0,  1,                                       0 },
  {        0,         0,  0,                                       1 }
}

How do I apply it to a 3D point in GeoGebra if I can't represent a point as (x, y, z, w)?

Best Answer
photo

Have you tried making a vector from a point thus?

{{x(A)},{y(A)},{z(A)},{1}}

Comments (2)

photo
2

Have you tried making a vector from a point thus?

{{x(A)},{y(A)},{z(A)},{1}}

photo
1

That works, thank you!

photo
© 2019 International GeoGebra Institute