Which of the following algorithms are used for line drawing?
A. DDA algorithm
B. Bresenham algorithm
C. Mid-point algorithm
D. Curve algorithm
Choose the most appropriate answer from the options given below:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. A and B Only
Explanation
DDA and Bresenham are the standard line-drawing algorithms (the midpoint method is a Bresenham variant).More Programming Languages and Computer Graphics questions
- The least values of signed and unsigned 8-bit data-type variables would be:
- In the context of binding, which one of the following is incorrect?
- Given int arr[3][4][2] = {{{2,4},{7,8},{3,4},{5,6}}, {{7,6},{3,4},{5,3},{2,3}}, {{8,9},{7,2},{3,4},{5,1}}}; Which one of the following can…
- Allowing different derived classes to be used interchangeably through the interface provided by a common base class is called ______
- In a ______ curve the first and last vertices of the control polygon lie on the curve, and all other vertices define the derivatives, order…
- Inheritance provides the benefits of A. Shared interfaces B. Run-time polymorphism C. Less redundant information D. Dynamic binding Choose…