TermCriteria constructor

TermCriteria(
  1. int type,
  2. int cound,
  3. double eps
)

Implementation

factory TermCriteria(int type, int cound, double eps) {
  final p = calloc<cvg.TermCriteria>()
    ..ref.type = type
    ..ref.maxCount = cound
    ..ref.epsilon = eps;
  return TermCriteria.fromPointer(p);
}