get method
- int index
Gets an item of the PointList object.
param index Index of the Point item to get. return Point item to get. throws FaceException An error has occurred during Face Library execution.
Implementation
Point get(int index) {
Pointer<id3FacePoint> pPointItem = calloc();
var err = faceSDK.id3FacePointList_Get(_pHandle.value, index, pPointItem);
if (err != FaceError.success.value) {
calloc.free(pPointItem);
throw FaceException(err);
}
return Point(pPointItem);
}