Segment is any object described by GKS commands and data
2017
A segment is any object described by GKS commands and data that start with CREATE SEGMENT and Terminates with CLOSE SEGMENT command. What functions can be performed on these segments ?
- A.
Translation and Rotation
- B.
Panning and Zooming
- C.
Scaling and Shearing
- D.
Translation, Rotation, Panning and Zooming
Attempted by 143 students.
Show answer & explanation
Correct answer: D
Correct answer: Translation, Rotation, Panning and Zooming
Explanation: Segments are collections of graphical primitives that can be transformed and viewed. Geometric transformations (translation and rotation) change the position and orientation of a segment's contents. Viewing operations (panning and zooming) change how the segment is positioned and scaled on the display when rendered.
Translation and Rotation — These are direct geometric transformations applied to a segment to move or rotate its primitives.
Panning and Zooming — These are viewing transformations applied when rendering; panning repositions the view, and zooming changes the scale of what is displayed.
Why other answers are incorrect or incomplete: answers that list only translation and rotation omit viewing operations; answers that list only panning and zooming omit direct geometric transforms; answers that list scaling and shearing omit translation/rotation and shearing is not typically presented as a primary segment operation in this context.