Point Clipping
Window
wx1
wx2
wy2
wy1
(x,y)
Is point (x,y) inside the clip window?
inside =
(x >= wx1) && (x <= wx2) &&
(y >= wy1) &&
(y <= wy2);
Previous slide
Next slide
Back to first slide
View graphic version