A 4 vertex quadrilateral, as represented by four
<GraphenePoint>.
The contents of a <GrapheneQuad> are private and
should never be accessed directly.
Allocates a new <GrapheneQuad> instance.
The contents of the returned instance are undefined.
Returned: a <GrapheneQuad>.
the newly created <GrapheneQuad> instance
Computes the bounding rectangle of self and places it into r.
Passed: a <GrapheneQuad>.
Passed, filled in, and returned: a <GrapheneRect>.
return location for a <GrapheneRect>
Checks if the given <GrapheneQuad> contains the given
<GraphenePoint>.
Passed: a <GrapheneQuad>.
Passed: a <GraphenePoint>.
Returned: a boolean.
true if the point is inside the <GrapheneQuad>
Frees the resources allocated by quad:alloc
Passed: a <GrapheneQuad>.
Retrieves the point of a <GrapheneQuad> at the given
index.
Passed: a <GrapheneQuad>.
Passed: an unsigned 32-bit integer.
the index of the point to retrieve
Returned: a <GraphenePoint>.
Initializes a <GrapheneQuad> with the given points.
Passed: a <GrapheneQuad>.
the <GrapheneQuad> to initialize
Passed: a <GraphenePoint>.
the first point of the quadrilateral
Passed: a <GraphenePoint>.
the second point of the quadrilateral
Passed: a <GraphenePoint>.
the third point of the quadrilateral
Passed: a <GraphenePoint>.
the fourth point of the quadrilateral
Returned: a <GrapheneQuad>.
the initialized <GrapheneQuad>
Initializes a <GrapheneQuad> using an array of
points.
Passed: a <GrapheneQuad>.
the <GrapheneQuad> to initialize
Passed: a list or vector, each a <GraphenePoint>.
an array of 4 <GraphenePoint>
Returned: a <GrapheneQuad>.
the initialized <GrapheneQuad>
Initializes a <GrapheneQuad> using the four corners
of the given <GrapheneRect>.
Passed: a <GrapheneQuad>.
the <GrapheneQuad> to initialize
Passed: a <GrapheneRect>.
Returned: a <GrapheneQuad>.
the initialized <GrapheneQuad>