Resource Base
Table of contents
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

CPoint

Is this page helpful?

YesYes NoNo

In this article:

Version 2.4.10

    • version 2.4.10
    • Version 2.x
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    • Version 1.x
      • Version 1.0.20
      • Version 1.0.10
      • Version 1.0.0
    Change +