Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

code to identify whether particular coordinate lies in bbox

Language: Layout:
+ ] Show input
Absolute running time: 0.07 sec, cpu time: 0.02 sec, memory peak: 3 Mb, absolute service time: 0,08 sec 
edit mode |  history  | discussion
GIVE YOUR BBOX DATA AS LR
GIVE YOUR BBOX DATA AS TR
LL_x:13    LL_y:10  TR_x:15  TR_y:15
GIVE  x COORDINATE OF THE POINT
GIVE  y COORDINATE OF THE POINT
x dimension is 2
y dimension is 5
ERROR: 12,10 lies OUTSIDE boundary of 13 10,15 15