iDRS™ SDK 16
Loading...
Searching...
No Matches
CPolygon_interface.h
Go to the documentation of this file.
1
7#ifndef CPOLYGON_INTERFACE_H
8
9#define CPOLYGON_INTERFACE_H
10
12#include "CObjPtr_interface.h"
13
14#include "idrs_common.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
34CPolygon CPolygon_Create(const IDRS_RECT* stBoundingRect, idrs_exception *pargException);
35
55CPolygon CPolygon_Create2(const PointArray xPoints, idrs_exception *pargException);
56
63IDRS_RECT CPolygon_GetBoundingBox(const CPolygon argCPolygon, idrs_exception *pargException);
64
72PointArray CPolygon_GetPoints(const CPolygon argCPolygon, idrs_exception *pargException);
73
81void CPolygon_SetPoints(CPolygon argCPolygon, const PointArray xPoints, idrs_exception *pargException);
82
90void CPolygon_Destroy(CPolygon argCPolygon, idrs_exception *pargException);
91
100CPolygonArray ArrayInterface_Create_CPolygonArray(idrs_exception *pargException);
101
102#ifdef __cplusplus
103}
104#endif /* __cplusplus */
105
106#endif /* CPOLYGON_INTERFACE_H */
Interface for ArrayDefinitions wrapper.
Interface for CObjPtr wrapper.
IDRS_RECT CPolygon_GetBoundingBox(const CPolygon argCPolygon, idrs_exception *pargException)
PointArray CPolygon_GetPoints(const CPolygon argCPolygon, idrs_exception *pargException)
Retrieves the polyline defining the polygon.
void CPolygon_Destroy(CPolygon argCPolygon, idrs_exception *pargException)
Destroys a CPolygon handle.
CPolygonArray ArrayInterface_Create_CPolygonArray(idrs_exception *pargException)
Creates a new CPolygonArray object.
CPolygon CPolygon_Create(const IDRS_RECT *stBoundingRect, idrs_exception *pargException)
Creates a new polygon defined by the provided bounding box.
void CPolygon_SetPoints(CPolygon argCPolygon, const PointArray xPoints, idrs_exception *pargException)
Sets the polyline defining the polygon.
CPolygon CPolygon_Create2(const PointArray xPoints, idrs_exception *pargException)
Creates a new polygon defined by the provided polyline.
The CPolygon class handles polygons for iDRS.
Structure that defines the upper-left and lower-right corners of a rectangle.
Definition idrsstd_interface.h:60