getLeadingEdgeListAsync method

Future<VecI32> getLeadingEdgeListAsync()

Returns a list of the leading edge ID connected to each triangle.

https://docs.opencv.org/4.x/df/dbf/classcv_1_1Subdiv2D.html#a2d02a1d66ef7f8f267beb549cb2823f1

Implementation

Future<VecI32> getLeadingEdgeListAsync() async {
  final pv = calloc<cvg.VecI32>();
  return cvRunAsync0(
    (callback) => cimgproc.cv_Subdiv2D_getLeadingEdgeList(ref, pv, callback),
    (c) {
      return c.complete(VecI32.fromPointer(pv));
    },
  );
}