init


Description:

public unowned Quad? init (Point p1, Point p2, Point p3, Point p4)

Initializes a Quad with the given points.

Parameters:

this

the Quad to initialize

p1

the first point of the quadrilateral

p2

the second point of the quadrilateral

p3

the third point of the quadrilateral

p4

the fourth point of the quadrilateral

Returns:

the initialized Quad