Quad Struct Documentation
struct QuadNamespace:datalogics_interface
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()Quad
Quad(const Point & top_left, const Point & top_right, const Point & bottom_left, const Point & bottom_right)Parameters
top_left: const Point &top_right: const Point &bottom_left: const Point &bottom_right: const Point &
Field Documentation
bottom_left
bottom_leftbottom_right
bottom_righttop_left
top_lefttop_right
top_rightMember Function Documentation
operator!=
bool operator!=(const Quad & rhs)Parameters
rhs: const Quad &
Returns:
booloperator==
bool operator==(const Quad & rhs)Parameters
rhs: const Quad &
Returns:
boolto_rect
Rect to_rect()Returns:
Rectto_string
std::string to_string()Returns:
std::stringtransform
Quad transform(const Matrix & m)