1.

In 2D-translation, a point (x, y) canmove to the new position (x’, y’) by using the equation(a) x’=x+dx and y’=y+dx(b) x’=x+dx and y’=y+dy(c) X’=x+dy and Y’=y+dx(d) X’=x-dx and y’=y-dyThis question was posed to me during an internship interview.Asked question is from 2D Translation topic in section 2D Transformation and Viewing of Computer Graphics

Answer»

Right answer is (b) x’=x+DX and y’=y+DY

For EXPLANATION I WOULD say: By ADDING translation distance dx and dy to its originsl position (x, y) we can obtain a new position (x’, y’).



Discussion

No Comment Found

Related InterviewSolutions