Interface for CPolygon wrapper.
More...
Go to the source code of this file.
Interface for CPolygon wrapper.
◆ ArrayInterface_Create_CPolygonArray()
| CPolygonArray ArrayInterface_Create_CPolygonArray |
( |
idrs_exception * |
pargException | ) |
|
Creates a new CPolygonArray object.
- Parameters
-
| pargException | Pointer to exception structure that will be filled if an exception occurs |
- Returns
- The newly created CPolygonArray
◆ CPolygon_Create()
| CPolygon CPolygon_Create |
( |
const IDRS_RECT * |
stBoundingRect, |
|
|
idrs_exception * |
pargException |
|
) |
| |
Creates a new polygon defined by the provided bounding box.
- Parameters
-
| stBoundingRect | The polygon's bounding rectangle (smallest rectangular area around the polygon). |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
- Returns
- The newly created polygon.
◆ CPolygon_Create2()
| CPolygon CPolygon_Create2 |
( |
const PointArray |
xPoints, |
|
|
idrs_exception * |
pargException |
|
) |
| |
Creates a new polygon defined by the provided polyline.
- Parameters
-
| xPoints | The polyline defining the polygon's boundaries. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
- Returns
- The newly created polygon.
◆ CPolygon_Destroy()
| void CPolygon_Destroy |
( |
CPolygon |
argCPolygon, |
|
|
idrs_exception * |
pargException |
|
) |
| |
Destroys a CPolygon handle.
- Parameters
-
| argCPolygon | CPolygon handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
◆ CPolygon_GetBoundingBox()
| IDRS_RECT CPolygon_GetBoundingBox |
( |
const CPolygon |
argCPolygon, |
|
|
idrs_exception * |
pargException |
|
) |
| |
- Returns
- The bounding rectangle of the polygon.
- Parameters
-
| argCPolygon | CPolygon handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
◆ CPolygon_GetPoints()
| PointArray CPolygon_GetPoints |
( |
const CPolygon |
argCPolygon, |
|
|
idrs_exception * |
pargException |
|
) |
| |
Retrieves the polyline defining the polygon.
- Returns
- The polyline defining the polygon.
- Parameters
-
| argCPolygon | CPolygon handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
◆ CPolygon_SetPoints()
| void CPolygon_SetPoints |
( |
CPolygon |
argCPolygon, |
|
|
const PointArray |
xPoints, |
|
|
idrs_exception * |
pargException |
|
) |
| |
Sets the polyline defining the polygon.
- Parameters
-
| argCPolygon | CPolygon handle |
| xPoints | The polyline defining the polygon. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |