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
A 2-dimensional polygon with 4 corners.
- Since
- 4.6.0
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: