
Four sides of an irregular quadrilateral can be arranged in convex, concave or crossed shape.

(We assume that the vertices are connected by the sequence from A to B then to C and to D and finally back to A)
Because any arbitrary 4 sides can form a convex, concave or crossed quadrilateral it is mandatory to define the exact form.
In order to draw a quadrilateral closed shape the following inequalities must be fulfilled:

Any quadrilateral shape can be divided into 2 triangles.
The area of a convex quadrilateral can be expressed in one of the following formulas:


If the vertices coordinate of a convex quadrilateral is given, then the area can be calculated easily by cross product of the vectors, formed from the two opposite vertices.


After solving the cross product we get a more simple form of the area, It must be remembered that each determinant should be taken as positive value even if the result is negative. (See example 1)


