0
421views
The equation of a line (L) is Y = 1/2x + 2. The vertices of the triangle ABC are given in homogeneous co-ordinates as A(2, 4, 1), B(4, 6, 1) and C(2, 6, 1).
1 Answer
0
1views

Find a composite transformation matrix that will reflect triangle ABC about the line (L) and also find its new co-ordinates.

Solution:

enter image description here

Equation of line is: y=1/2x+2

Comparing with y=mx+c,m=0.5andc=2

also θ=tan1m

θ=26.56

Step 1: Transformation of Point P(0,2) to origin O(0,0)

[Tr]=[100010tx ty 1]=[100010021]

{tx=0,ty=2} (-ve as direction is downward.) 

Step 2: Rotation of line by an angle of θ=36.87 (-ve as it is moving in clockwise direction)

[R]=[cosθsinθ0sinθcosθ0001]=[cos(26.56)sin(26.56)0sin(26.56)cos(26.56)0001]

[R]=[0.890.4800.480.890001]

Step 3: Reflection of triangle about x-axis

Matrix for reflection about x-axis is given as,

[M]@xaxis=[100010001]

Step 4: Inverse rotation of line to its original angle

[Rx]1ccw=[cosθsinθ0sinθcosθ0001]=[cos(26.56)sin(26.56)0sin(26.56)cos(26.56)0001]

=[0.890.4800.480.890001]

Step 5: Inverse Translation of Point P to its original position

[Tr]1=[100010tx ty 1]=[100010021]

{tx=0,ty=+2} (+ve as direction is upwards) 

Now,

The composite transformation matrix,

[T]=[Tr][R][M][R]1[Tr]1

=[100010021][0.890.4800.480.890001][100010001][0.890.4800.480.890001][100010021]

=[0.5610.85400.8540.5601.71.1231][100010021]

=[0.560.85400.8540.5601.73.1231]=[0.60.800.80.601.73.11]

Now, new coordinate of triangle ABC are,

[X]=[X][Γ]

=[241461261][0.60.800.80.601.73.11]

=[2.72.315.52.714.31.11]

A=(2.7,2.3)

B=(5.5,2.7)

C=(4.3,1.1)

Please log in to add an answer.