do you have the answer for the case that is not rotated?
Thank you for your reply. I defined that and even though I'm not getting it sir
find straight-line eq of each edge, then the condition for them would be a x + b == y