Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.
CQuadrilateral
Stores the quadrilateral.
class dynamsoft::core::CQuadrilateral
Attribute | Type |
---|---|
points |
CPoint[4] |
Method | Description |
---|---|
GetArea |
Returns the area of the quadrilateral. |
IsPointInQuadrilateral |
Returns whether the point is in the quadrilateral. |
points
Four vertexes in a clockwise direction of a quadrilateral. Index 0 represents the left-most vertex.
CPoint points[4]
GetArea
Returns the area of the quadrilateral.
int GetArea()
Return Value
The area of the quadrilateral.
IsPointInQuadrilateral
Returns whether the point is in the quadrilateral.
bool IsPointInQuadrilateral(const CPoint* point)
Parameters
[in] point
The point.
Return Value
A boolean value representing whether the point is in the quadrilateral.
See Also