getEdgeList method
Returns a list of all edges.
https://docs.opencv.org/4.x/df/dbf/classcv_1_1Subdiv2D.html#ab527c11e9938eed53cf9c790afa9416d
Implementation
List<Vec4f> getEdgeList() {
final pv = calloc<ffi.Pointer<cvg.Vec4f>>();
final psize = calloc<ffi.Size>();
cvRun(() => cimgproc.cv_Subdiv2D_getEdgeList(ref, pv, psize, ffi.nullptr));
final rval = List.generate(psize.value, (i) {
final v = pv.value[i];
return Vec4f(v.val1, v.val2, v.val3, v.val4);
});
calloc.free(psize);
calloc.free(pv);
return rval;
}