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
Examples:
CommandLineMatrixScanCameraSample.c.

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
tlTop-left corner.
trTop-right corner.
brBottom-right corner.
blBottom-left corner.
Returns
The created quadrilateral.

The documentation for this struct was generated from the following file: