In Cyrus-Beck algorithm for line clipping the value of t parameter is computed by the relation:
(Here P 1 and P 2 are the two end points of the line, f is a point on the boundary, n 1 is inner normal)
(A) (Pi – fi ). ni / (P2 – P2 ). ni
(B) (fi – Pi ). ni / (P2 – P1 ). ni
(C) (P2 – fi ). ni / (P1 – P2 ). ni
(D) (fi – fi ). P2 / (P1 – P2 ). ni
Answer: (B)
Explanation:
Quiz of this Question
Article Tags :
Recommended Articles