VecPoint3i.fromMat constructor

VecPoint3i.fromMat(
  1. Mat mat
)

Implementation

factory VecPoint3i.fromMat(Mat mat) {
  final p = calloc<cvg.VecPoint3i>();
  cvRun(() => ccore.cv_Mat_toVecPoint3i(mat.ref, p, ffi.nullptr));
  return VecPoint3i.fromPointer(p);
}