VecPoint3i.fromMat constructor

VecPoint3i.fromMat(
  1. Mat mat
)

Implementation

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