quad

fun quad(a: Int, b: Int, c: Int, d: Int)

Two triangles covering four corners given in order round the edge.