Lines Matching refs:VoronoiDiagram
237 // VoronoiDiagram : in, pointer to struct, which contains the
250 // VoronoiDiagram : in, pointer to struct, which contains the
281 // VoronoiDiagram: in
290 static int _cvConvert(CvVoronoiDiagram2D* VoronoiDiagram,
294 static int _cvConvert(CvVoronoiDiagram2D* VoronoiDiagram,
311 // VoronoiDiagram: in
318 static int _cvConvertSameOrientation(CvVoronoiDiagram2D* VoronoiDiagram,
321 static int _cvConvertSameOrientation(CvVoronoiDiagram2D* VoronoiDiagram,
337 // VoronoiDiagram: in
344 static int _cvConvertChangeOrientation(CvVoronoiDiagram2D* VoronoiDiagram,
347 static int _cvConvertChangeOrientation(CvVoronoiDiagram2D* VoronoiDiagram,
1268 CvVoronoiDiagram2D** VoronoiDiagram,
1299 (*VoronoiDiagram) = (CvVoronoiDiagram2D*)cvCreateSet(0,sizeof(CvVoronoiDiagram2D),sizeof(CvVoronoiNode2D), storage);
1301 (*VoronoiDiagram)->edges = cvCreateSet(0,sizeof(CvSet),sizeof(CvVoronoiEdge2D), storage);
1302 cvStartAppendToSeq((CvSeq*)(*VoronoiDiagram)->edges, &EdgeWriter);
1303 cvStartAppendToSeq((CvSeq*)(*VoronoiDiagram), &NodeWriter);
1312 if(!_cvConvert(*VoronoiDiagram,VoronoiDiagramInt,SiteSeq,NodeWriter,EdgeWriter,VoronoiStorage,contour_orientation))
1331 CvVoronoiDiagram2D** VoronoiDiagram,
1401 RESULT = cvVoronoiDiagramFromContour(ApproxContourSeq,VoronoiDiagram,VoronoiStorage,CV_LEE_INT,-1,10);
1408 RESULT = cvVoronoiDiagramFromContour(ApproxContourSeq,VoronoiDiagram,VoronoiStorage,CV_LEE_INT,-1,1);
1416 RESULT = cvVoronoiDiagramFromContour(*ContourSeq,VoronoiDiagram,VoronoiStorage,CV_LEE_INT,-1,10);
1444 CV_IMPL void cvReleaseVoronoiStorage(CvVoronoiDiagram2D* VoronoiDiagram,
1452 if(VoronoiDiagram->storage)
1453 cvReleaseMemStorage(&VoronoiDiagram->storage);
1454 for(Seq = (CvSeq*)VoronoiDiagram->sites; Seq != NULL; Seq = Seq->h_next)
1457 for(Seq = (CvSeq*)VoronoiDiagram->edges; Seq != NULL; Seq = Seq->h_next)
1721 static int _cvConvert(CvVoronoiDiagram2D* VoronoiDiagram,
1730 return _cvConvertSameOrientation(VoronoiDiagram,VoronoiDiagramInt,SiteSeq,NodeWriter,
1733 return _cvConvertChangeOrientation(VoronoiDiagram,VoronoiDiagramInt,SiteSeq,NodeWriter,
1737 static int _cvConvertSameOrientation(CvVoronoiDiagram2D* VoronoiDiagram,
1842 // cvSetRemove((CvSet*)VoronoiDiagram,VoronoiDiagram->total-1);
1886 // cvSetRemove((CvSet*)VoronoiDiagram,VoronoiDiagram->total-1);
1913 VoronoiDiagram->sites = NewSiteSeq;
1924 static int _cvConvertChangeOrientation(CvVoronoiDiagram2D* VoronoiDiagram,
2035 // cvSetRemove((CvSet*)VoronoiDiagram,VoronoiDiagram->total-1);
2079 // cvSetRemove((CvSet*)VoronoiDiagram,VoronoiDiagram->total-1);
2106 VoronoiDiagram->sites = NewSiteSeq;