Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

point inside rect

I have a rectangle of size l*b where one edge is present at p0 and opposite at p1. How do i check if a point/pixel pi is inside this rectangle or not?