Lines Matching refs:vertex
2931 CvGraphVtx *vertex = 0; in cvGraphAddVtx() local
2941 vertex = (CvGraphVtx*)cvSetNew((CvSet*)graph); in cvGraphAddVtx()
2942 if( vertex ) in cvGraphAddVtx()
2945 CV_MEMCPY_INT( vertex + 1, _vertex + 1, in cvGraphAddVtx()
2947 vertex->first = 0; in cvGraphAddVtx()
2948 index = vertex->flags; in cvGraphAddVtx()
2952 *_inserted_vertex = vertex; in cvGraphAddVtx()
3292 cvGraphVtxDegreeByPtr( const CvGraph* graph, const CvGraphVtx* vertex ) in cvGraphVtxDegreeByPtr() argument
3301 if( !graph || !vertex ) in cvGraphVtxDegreeByPtr()
3304 for( edge = vertex->first, count = 0; edge; ) in cvGraphVtxDegreeByPtr()
3307 edge = CV_NEXT_GRAPH_EDGE( edge, vertex ); in cvGraphVtxDegreeByPtr()
3320 CvGraphVtx *vertex; in cvGraphVtxDegree() local
3331 vertex = cvGetGraphVtx( graph, vtx_idx ); in cvGraphVtxDegree()
3332 if( !vertex ) in cvGraphVtxDegree()
3335 for( edge = vertex->first, count = 0; edge; ) in cvGraphVtxDegree()
3338 edge = CV_NEXT_GRAPH_EDGE( edge, vertex ); in cvGraphVtxDegree()