edgeOrgAsync method

Future<(int, Point2f)> edgeOrgAsync(
  1. int edge
)

Implementation

Future<(int rval, Point2f orgpt)> edgeOrgAsync(int edge) async =>
    cvRunAsync2((callback) => cimgproc.Subdiv2D_EdgeOrg_Async(ref, edge, callback), (completer, p, p1) {
      final rval = p.cast<ffi.Int>().value;
      calloc.free(p);
      completer.complete((rval, Point2f.fromPointer(p1.cast<cimgproc.Point2f>())));
    });