VecPoint3f.fromMat constructor

VecPoint3f.fromMat(
  1. Mat mat
)

Implementation

factory VecPoint3f.fromMat(Mat mat) {
  final p = calloc<cvg.VecPoint3f>();
  cvRun(() => cffi.Mat_toVecPoint3f(mat.ref, p));
  return VecPoint3f.fromPointer(p);
}