Available Internal Point Array Functions used by CAM Library.
More...
Available Internal Point Array Functions used by CAM Library.
◆ camlib_PointArray_Append()
int camlib_PointArray_Append |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
Add point to internal point array. May be used after camlib_ActivateCell.
- Parameters
-
- Returns
- Returns 0 if successful, else -1.
◆ camlib_PointArray_Assign()
int camlib_PointArray_Assign |
( |
int |
num, |
|
|
float |
x, |
|
|
float |
y |
|
) |
| |
Modify existing point in the internal point array. May be used after camlib_ActivateCell.
- Parameters
-
- Returns
- Returns 0 if successful, else -1.
◆ camlib_PointArray_Empty()
int camlib_PointArray_Empty |
( |
| ) |
|
Clear internal point array. May be used after camlib_ActivateCell.
- Returns
- Returns 0 if successful, else -1.
◆ camlib_PointArray_GetCount()
int camlib_PointArray_GetCount |
( |
| ) |
|
Get number of points currently in the internal point array. May be used after camlib_ActivateCell.
- Returns
- Returns 0 if successful, else -1.
Sample Code C++:
printf("There are %d points in the internal point array", nTotalPoints );