Subdiv2D.fromRect constructor

Subdiv2D.fromRect(
  1. Rect rect
)

Implementation

factory Subdiv2D.fromRect(Rect rect) {
  final p = calloc<cvg.Subdiv2D>();
  cvRun(() => cimgproc.cv_Subdiv2D_create_1(rect.ref, p));
  return Subdiv2D._(p);
}