profile-img
Eduncle posted an MCQ
February 22, 2020 • 15:05 pm 0 points
  • UGC NET
  • Computer Science & Applications

A rectangle is bound by the lines x = 0; y = 0; x = 5 and y = 3. The line segment joining (–1, 0) and (4, 5). If clipped against this window will connect the points __________.

Choose Your Answer:
0 Attempts Submit Now
  • 0 Likes
  • 1 Comments
  • 0 Shares
  • comment-profile-img>
    Eduncle Best Answer

    According to 
    Cohen Sutherland line clipping algorithm.
    The line segment joining (–1, 0) and (4, 5)
    y – 0 = ((5 – 0) / 4 – (–1))*(x – (–1))
    y = x + 1
    Clipped against this window will connect the points are (0, 1) and (2, 3) based on given data.

whatsapp-btn

Do You Want Better RANK in Your Exam?

Start Your Preparations with Eduncle’s FREE Study Material

  • Updated Syllabus, Paper Pattern & Full Exam Details
  • Sample Theory of Most Important Topic
  • Model Test Paper with Detailed Solutions
  • Last 5 Years Question Papers & Answers