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 => cvRunAsync0(
      (callback) => cffi.Subdiv2D_InsertVec_Async(ref, pv.ref, callback),
      (c) => c.complete(),
    );