Home | History | Annotate | Download | only in src

Lines Matching defs:npoints

678     int npoints = curve.checkVector(2), depth = curve.depth();
679 CV_Assert( npoints >= 0 && (depth == CV_32S || depth == CV_32F));
681 if( npoints == 0 )
687 AutoBuffer<Point> _buf(npoints);
688 AutoBuffer<Range> _stack(npoints);
693 nout = approxPolyDP_(curve.ptr<Point>(), npoints, buf, closed, epsilon, &_stack);
695 nout = approxPolyDP_(curve.ptr<Point2f>(), npoints, (Point2f*)buf, closed, epsilon, &_stack);
781 int npoints = src_seq->total, nout = 0;
782 _buf.allocate(npoints*2);
783 cv::Point *src = _buf, *dst = src + npoints;
792 nout = cv::approxPolyDP_(src, npoints, dst, closed, parameter, &stack);
794 nout = cv::approxPolyDP_((cv::Point2f*)src, npoints,