insert method

int insert(
  1. Point2f pt
)

Implementation

int insert(Point2f pt) {
  return using<int>((arena) {
    final p = arena<ffi.Int>();
    cvRun(() => cffi.Subdiv2D_Insert(ref, pt.ref, p));
    return p.value;
  });
}