Point Clipping:Point Clipping is used to determining, whether the point is inside the window or not. For this following conditions are checked.
The (x, y) is coordinate of the point. If anyone from the above inequalities is false, then the point will fall outside the window and will not be considered to be visible. Program1:To implement Point Clipping: Output: Program2:To implement point clipping with respect to rectangular window: Output: Next TopicLine Clipping |