Types of Quadrialterals

A four sided polygon is called a quadrilateral 

def

types

(1)TRAPEZIUM

distance

Quadrilateral with a pair of oppoosite sides parallel

property

Trapezium

Fig2

A = (-6.753004736459451, 0.001046369161863847)
B = (3.4486133362761087, -1.7468944221168181)
C = (3.7028592695530076, 7.024590275936204)
D = (-3.7020535371366674, 7.024590275936204)
q1, a, b, c, d = Polygon(A, B, C, D)
e = true
f = true
E = (9.423392768283227, -4.066888563268502)
F = Point(Circle[E, 10])
g = Segment(E, F)
G = (12.474343967606012, 3.7511738849961445)
h = Line(G, g)
H = Point(h)
i = Segment(H, F)
j = Segment(E, G)
k = Segment(G, H)
α = Angle(G, H, F)
β = Angle(H, F, E)
l = OrthogonalLine(G, g)
m = OrthogonalLine(H, g)
I = Intersect(g, l)
J = Intersect(g, m)
n = Segment(G, I)
p = Segment(H, J)
o = true
r = true
q = true
s = true