insertVecAsync method

Future<void> insertVecAsync(
  1. VecPoint2f pv
)

Insert a single point into a Delaunay triangulation.

The function locates the input point within the subdivision and gives one of the triangle edges or vertices.

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

Implementation

Future<void> insertVecAsync(VecPoint2f pv) async {
  return cvRunAsync0(
    (callback) => cimgproc.cv_Subdiv2D_insertVec(ref, pv.ref, callback),
    (c) {
      c.complete();
    },
  );
}