Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# RULE_POINT

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    typedef struct _rule_point
    {
        int m_RulePoint_x1;
        int m_RulePoint_y1;
        int m_RulePoint_x2;
        int m_RulePoint_y2;
        int m_RulePoint_x3;
        int m_RulePoint_y3;
        int m_RulePoint_x4;
        int m_RulePoint_y4;
        int m_RulePoint_x5;
        int m_RulePoint_y5;
        int m_RulePoint_x6;
        int m_RulePoint_y6;
    } RULE_POINT;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct RULE_POINT
    {
        public Int32 m_RulePoint_x1;
        public Int32 m_RulePoint_y1;
        public Int32 m_RulePoint_x2;
        public Int32 m_RulePoint_y2;
        public Int32 m_RulePoint_x3;
        public Int32 m_RulePoint_y3;
        public Int32 m_RulePoint_x4;
        public Int32 m_RulePoint_y4;
        public Int32 m_RulePoint_x5;
        public Int32 m_RulePoint_y5;
        public Int32 m_RulePoint_x6;
        public Int32 m_RulePoint_y6;
    }

### Function Description

Rule box coordinates

### Member Description

Member | Type | Remark
--- | --- | ---
m_RulePoint_x1 | int | The horizontal coordinate of the first regular point.
m_RulePoint_y1 | int | The ordinate of the first regular point.
m_RulePoint_x2 | int | The horizontal coordinate of the second regular point.
m_RulePoint_y2 | int | The ordinate of the second regular point.
m_RulePoint_x3 | int | The abscissa of the third regular point.
m_RulePoint_y3 | int | The ordinate of the third regular point.
m_RulePoint_x4 | int | The horizontal coordinate of the fourth regular point.
m_RulePoint_y4 | int | The ordinate of the fourth regular point.
m_RulePoint_x5 | int | The horizontal coordinate of the fifth regular point.
m_RulePoint_y5 | int | The ordinate of the fifth regular point.
m_RulePoint_x6 | int | The horizontal coordinate of the sixth regular point.
m_RulePoint_y6 | int | The ordinate of the sixth regular point.

Error Code