Let us say we have a line AB (as shown in the image) and according to Cyrus Beck Line Clipping algorithm, C will be a potentially entering point and D will be a potentially leaving point. And ultimately the line segment AC and CD are clipped off and the line segment CD remains. But clearly its not true.
What is the issue here?
Any help would be highly appreciated!