Lines Matching full:hull
417 * Convex Hull Test *
543 CvMat* hull = 0;
566 hull = cvCreateMat( 1, hull_count, CV_32FC2 );
571 h = (CvPoint2D32f*)(hull->data.ptr);
573 // extract convex hull points
576 cvCvtSeqToArray( hseq, hull->data.ptr );
579 CvMat tmp = cvMat( hull->rows, hull->cols, CV_32SC2, hull->data.ptr );
580 cvConvert( &tmp, hull );
601 ts->printf( cvtest::TS::LOG, "Invalid convex hull point #%d\n", i );
609 // check that the convex hull is a convex polygon
622 ts->printf( cvtest::TS::LOG, "The convex hull is not convex or has a wrong orientation (vtx %d)\n", i );
630 // check that all the points are inside the hull or on the hull edge
631 // and at least hull_point points are at the hull vertices
639 ts->printf( cvtest::TS::LOG, "The point #%d is outside of the convex hull\n", i );
650 ts->printf( cvtest::TS::LOG, "Not every convex hull vertex coincides with some input point\n" );
657 cvReleaseMat( &hull );
911 "All triangle edges middle points should touch the convex hull of the points.\n" );