edgeDstAsync method

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

Implementation

Future<(int rval, Point2f dstpt)> edgeDstAsync(int edge) async =>
    cvRunAsync2((callback) => cimgproc.Subdiv2D_EdgeDst_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>())));
    });