ScQuadrilateral Struct Reference
Public Member Functions | |
ScQuadrilateral | sc_quadrilateral_make (ScPoint tl, ScPoint tr, ScPoint br, ScPoint bl) |
Data Fields | |
ScPoint | top_left |
ScPoint | top_right |
ScPoint | bottom_right |
ScPoint | bottom_left |
Detailed Description
Member Function Documentation
ScQuadrilateral sc_quadrilateral_make | ( | ScPoint | tl, |
ScPoint | tr, | ||
ScPoint | br, | ||
ScPoint | bl | ||
) |
Helper function to initialize a quadrilateral with 4 corners.
- Parameters
-
tl Top-left corner. tr Top-right corner. br Bottom-right corner. bl Bottom-left corner.
- Returns
- The created quadrilateral.
The documentation for this struct was generated from the following file: