clone method

PointList clone()

Creates a copy of the PointList object.

return The newly created PointList object. throws FaceException An error has occurred during Face Library execution.

Implementation

PointList clone() {
  PointList clone = PointList();
  var err = faceSDK.id3FacePointList_CopyTo(_pHandle.value, clone.handle);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
  return clone;
}