Quad Class Documentation
class Quad : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
Detailed Description
Represents a quadrilateral in a program.
A quadrilateral is a polygon graphic that has four sides or edges and four corners, Bottom Left, Bottom Right, Top Left, and Top Right.
Referenced by
Constructor & Destructor Documentation
Quad
Quad()Creates a Quad with all points at the origin.
Quad
Parameters
Creates a Quad from a set of 4 points.
Property Documentation
BottomLeft
Point BottomLeft[get]Bottom left corner of the Quad.
BottomRight
Point BottomRight[get]Bottom right corner of the Quad.
TopLeft
Point TopLeft[get]Top left corner of the Quad.
TopRight
Point TopRight[get]Top right corner of the Quad.
Member Function Documentation
Dispose
void Dispose()Returns:
voidEquals
override bool Equals(object obj)Parameters
obj: object
Returns:
override boolToRect
Rect ToRect()Returns:
RectA Rect with the lower-left corner at BottomLeft and the upper-right corner at TopRight.
Returns a rectangle describing the same area as the quad.
ToString
override string ToString()Returns:
override stringA string in the format "[ TopLeft=(...), TopRight=(...), BottomLeft=(...), BottomRight=(...) ]".
Returns a UTF-8 string representation of the quad by calling each point's ToString function.
Transform
Parameters
arg0: MatrixThe transformation matrix to apply to each point of the Quad.
Returns:
QuadA new Quad with each point transformed by the given matrix.
Create a new quad from the results of a Transform on each point of the Quad.