I have a quadrangle which sides consist of parts of rays, and I only know the coordinates of two points on each ray.
I need to determine if a point $(x,y)$ lies in such quadrangle.
In this picture, I painted the sides of the quadrangle red in case you don't understand about what quadrangle I'm talking.