edgeOrgAsync method
Returns the edge origin.
https://docs.opencv.org/4.x/df/dbf/classcv_1_1Subdiv2D.html#a5563e3cae0a9b95df63e72f0c12f9389
Implementation
Future<(int rval, Point2f orgpt)> edgeOrgAsync(int edge) async {
final pp = calloc<cvg.CvPoint2f>();
final p = calloc<ffi.Int>();
return cvRunAsync0(
(callback) => cimgproc.cv_Subdiv2D_edgeOrg(ref, edge, pp, p, callback),
(c) {
final rval = (p.value, Point2f.fromPointer(pp));
calloc.free(p);
return c.complete(rval);
},
);
}