2,143 views
1 votes
1 votes

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).

  1. $\frac{(P_{1}-f_{i}).n_{i}}{(P_{2}-P_{1}).n_{i}}$
  2. $\frac{(f_{i}-P_{1}).n_{i}}{(P_{2}-P_{1}).n_{i}}$
  3. $\frac{(P_{2}-f_{i}).n_{i}}{(P_{1}-P_{2}).n_{i}}$
  4. $\frac{(f_{i}-P_{2}).n_{i}}{(P_{1}-P_{2}).n_{i}}$

2 Answers

0 votes
0 votes
Ans:b

The parameter t is calculated as t = (f-p1)/(p2-p1) where f is a value from point in question, p1 and p2 are end points Option (B) is just a vector notation of the same.
Answer:

Related questions

2 votes
2 votes
1 answer
1
makhdoom ghaya asked Jul 25, 2016
3,204 views
Match the following $:$$\begin{array}{clcl} & \textbf{List – I} && \textbf{List – II} \\ \text{a.} & \text{Cavalier} & \text{i.} & \text{The direction of projection...
2 votes
2 votes
1 answer
2
makhdoom ghaya asked Jul 25, 2016
1,758 views
A technique used to approximate halftones without reducing spatial resolution is known as________.HalftoningDithering Error diffusionNone of the above
1 votes
1 votes
1 answer
3
makhdoom ghaya asked Jul 25, 2016
2,283 views
Which of the following categories of languages do not refer to animation languages ?Graphical languagesGeneral-purpose languages Linear-list notationsNone of the above
0 votes
0 votes
3 answers
4