What is the best way to do this only using python's built-in libraries?
Here is my code so far.
class Quadrilateral:
class Point:
def __init__(self, x, y):
self.x = x
self.y = y
def __init__(self, Ax, Ay, Bx, By, Cx, Cy, Dx, Dy):
self.A = self.Point(Ax, Ay)
self.B = self.Point(Bx, By)
self.C = self.Point(Cx, Cy)
self.D = self.Point(Dx, Dy)
# checks if a point is in the Quadrilateral
def check(self, x, y):
pass