Lines Matching refs:node1
105 CvVoronoiNodeInt* node1;
116 CvVoronoiNodeInt* node1;
674 (this marked point is pEdge1->node1->node).
695 (this marked point is pEdge1->node1->node).
717 (this marked point is pEdge1->node1->node).
739 (this marked point is pEdge1->node1->node).
761 (this marked point is pEdge1->node1->node).
783 (this marked point is pEdge1->node1->node).
804 (this marked point is pEdge1->node1->node).
826 (this marked point is pEdge1->node1->node).
848 (this marked point is pEdge1->node1->node).
871 (this marked point is pEdge1->node1->node).
893 (this marked point is pEdge1->node1->node).
1582 Hole.x_coord = pTopSite->node1->node.x;
1621 dx = pHole->node->node.x - pHole->site_top->node1->node.x;
1622 dy = pHole->node->node.y - pHole->site_top->node1->node.y;
1690 pHole->site_top->node1->node.x = (float)cvFloor(pHole->site_top->node1->node.x);
1786 while(pSite->prev_site->node1 == pSite->prev_site->node2)\
1798 if(!pEdge || !pEdge->node1 || !pEdge->node2)
1814 pNode1->pt.x = pEdge->node1->node.x;
1815 pNode1->pt.y = pEdge->node1->node.y;
1816 pNode1->radius = pEdge->node1->radius;
1852 pNode1->pt.x = pEdge->node1->node.x;
1853 pNode1->pt.y = pEdge->node1->node.y;
1854 pNode1->radius = pEdge->node1->radius;
1883 if(pSite->node1 == pSite->node2 && pSite != pSite->next_site && pNewEdge1->node[0] != pNewEdge1->node[1])
1896 Node.pt.x = pSite->node1->node.x;
1897 Node.pt.y = pSite->node1->node.y;
1976 while(pSite->next_site->node1 == pSite->next_site->node2)\
1989 if(!pEdge || !pEdge->node1 || !pEdge->node2)
2005 pNode1->pt.x = pEdge->node1->node.x;
2006 pNode1->pt.y = pEdge->node1->node.y;
2007 pNode1->radius = pEdge->node1->radius;
2076 if(pSite->node1 == pSite->node2 && pSite != pSite->next_site && pNewEdge1->node[0] != pNewEdge1->node[1])
2089 Node.pt.x = pSite->node1->node.x;
2090 Node.pt.y = pSite->node1->node.y;
2240 pSite->node2 = SiteTemp.next_site->node1;
2248 if(pReflexSite->next_site->next_site->node1 !=
2399 pSite->node2 = SiteTemp.next_site->node1;
2419 while(pReflexSite->next_site->next_site->node1==
2432 if(pSite->node1!=pSite->node2)
2482 if(pSite->node1!=pSite->node2)
2532 if(pSite->node1!=pSite->node2)
2534 SiteDirection.x = pSite->node2->node.x - pSite->node1->node.x;
2535 SiteDirection.y = pSite->node2->node.y - pSite->node1->node.y;
2564 pEdge2->node1 = pSite->node2;
2565 pEdge1->node2 = pSite->node1;
2611 pSite_left->edge2->node1 = pEndNode;
2642 pCvVoronoiNode pNode_siteleft = pChain1->first_site->node1;
2659 pEdge2->node1 = NULL;
2665 pEdge1->node1 = pNode_begin;
2715 if(pEdge_right->node1 == NULL)
2742 while(pEdge_left->node1!=NULL
2743 &&pEdge_left->node1==pEdge_left->prev_edge->node2)
2760 && pEdge_right->node2==pEdge_right->next_edge->node1)
2778 pEdge2->node1 = pNode_begin;
2842 pEdge2->node1 = pNode_begin;
2885 pEdge2->node1 = pNode_begin;
2945 pTopPoint = &pHole->site_top->node1->node;
2967 if(pSite->node1 != pSite->node2)
2969 pPoint1 = &pSite->node1->node;
2991 pPoint1 = &pSite->node1->node;
3022 if(pHole->site_nearest->node1 == pHole->site_nearest->node2)
3024 Direction.x = (pHole->site_nearest->node1->node.x - pHole->site_top->node1->node.x)/2;
3025 Direction.y = (pHole->site_nearest->node1->node.y - pHole->site_top->node1->node.y)/2;
3034 Node.node.x = pHole->site_top->node1->node.x + Direction.x;
3035 Node.node.y = pHole->site_top->node1->node.y + Direction.y;
3076 CvVoronoiEdgeInt Edge_right = {NULL,pSite_right->node1,pSite_right,NULL,NULL,NULL,NULL,&Direction};
3116 Edge_cur.node1 = pNode;
3131 CvVoronoiEdgeInt Edge_left = {pSite_left->node1,NULL,pSite_left,NULL,NULL,NULL, NULL, &Direction};
3222 pEdge1->node1 = pEdge2->node2 = pNode_begin;
3272 pEdge2->node1 = pNode_begin;
3303 pEdge2->node1 = pNode_begin;
3324 pEdge2->node1 = pNode_begin;
3342 pEdge1_first->node1 = pNode_begin;
3362 if((pSite_left->node1!=pSite_left->node2)&&
3363 (pSite_right->node1!=pSite_right->node2))
3368 else if((pSite_left->node1!=pSite_left->node2)&&
3369 (pSite_right->node1 == pSite_right->node2))
3370 _cvCalcEdgeLP(pSite_left,pSite_right->node1,pEdge,pVoronoiDiagram);
3372 else if((pSite_left->node1==pSite_left->node2)&&
3373 (pSite_right->node1!=pSite_right->node2))
3374 _cvCalcEdgePL(pSite_left->node1,pSite_right,pEdge,pVoronoiDiagram);
3377 _cvCalcEdgePP(&(pSite_left->node1->node),
3378 &(pSite_right->node1->node),
3387 if(pSite->node1!=pSite->node2)
3390 _cvCalcEdgePP(&(pSite->node1->node),
3400 if(pSite->node1!=pSite->node2)
3403 _cvCalcEdgePP(&pNode->node,&pSite->node1->node,pEdge,pVoronoiDiagram);
3435 pCvPointFloat pPoint1 = &pDirectrice->node1->node;
3469 pCvPointFloat pPoint1 = &pDirectrice->node1->node;
3523 if(((pEdge1->node1 == pEdge2->node1 ||
3524 pEdge1->node1 == pEdge2->node2) &&
3525 pEdge1->node1 != NULL)||
3526 ((pEdge1->node2 == pEdge2->node1 ||
3536 if(pEdge1->node1!=NULL)
3538 Point1.x = pEdge1->node1->node.x;
3539 Point1.y = pEdge1->node1->node.y;
3551 Point3.x = pEdge2->node1->node.x;
3552 Point3.y = pEdge2->node1->node.y;
3557 else if(pEdge2->node1==NULL)
3566 Point3.x = pEdge2->node1->node.x;
3567 Point3.y = pEdge2->node1->node.y;
3584 if(((pEdge1->node2!=NULL)&&(pEdge1->node1!=NULL))&&(k>1.f+LEE_CONST_ACCEPTABLE_ERROR))
3586 if(((pEdge2->node2!=NULL)&&(pEdge2->node1!=NULL))&&(m>1.f+LEE_CONST_ACCEPTABLE_ERROR))
3602 if(pEdge2->node1==NULL||pEdge2->node2==NULL)
3615 if(((pEdge1->node1 == pEdge2->node1 ||
3616 pEdge1->node1 == pEdge2->node2) &&
3617 pEdge1->node1 != NULL)||
3618 ((pEdge1->node2 == pEdge2->node1 ||
3624 if(pEdge1->node1!=NULL)
3625 pRayPoint1 = &(pEdge1->node1->node);
3633 if(pEdge2->node1==NULL)
3636 pParPoint1 = &(pEdge2->node1->node);
3725 if(((pEdge1->node1 == pEdge2->node1 ||
3726 pEdge1->node1 == pEdge2->node2) &&
3727 pEdge1->node1 != NULL)||
3728 ((pEdge1->node2 == pEdge2->node1 ||
3734 if(pEdge1->node1!=NULL)
3735 pRayPoint1 = &(pEdge1->node1->node);
3743 pParPoint2 = &(pEdge2->node1->node);
3854 if(pEdge2->node1==NULL||pEdge2->node2==NULL)
3867 if(((pEdge1->node1 == pEdge2->node1 ||
3868 pEdge1->node1 == pEdge2->node2) &&
3869 pEdge1->node1 != NULL)||
3870 ((pEdge1->node2 == pEdge2->node1 ||
3877 if(pEdge1->node1!=NULL)
3878 pParPoint1 = &(pEdge1->node1->node);
3883 if(pEdge2->node1==NULL)
3886 pRayPoint1 = &(pEdge2->node1->node);
3900 if(pEdge2->site->node1 == pEdge2->site->node2 && q < 0 ||
3901 pEdge2->site->node1 != pEdge2->site->node2 && q > 0)
3955 if(((pEdge1->node1 == pEdge2->node1 ||
3956 pEdge1->node1 == pEdge2->node2) &&
3957 pEdge1->node1 != NULL)||
3958 ((pEdge1->node2 == pEdge2->node1 ||
3965 if(pEdge1->node1!=NULL)
3966 pParPoint1 = &(pEdge1->node1->node);
3971 pRayPoint2 = &(pEdge2->node1->node);
3987 if(pEdge2->site->node1 == pEdge2->site->node2 && q < 0 ||
3988 pEdge2->site->node1 != pEdge2->site->node2 && q > 0)
3994 if(pEdge2->site->node1 == pEdge2->site->node2 && q < 0 ||
3995 pEdge2->site->node1 != pEdge2->site->node2 && q > 0)
4052 if(pEdge2->node1==NULL||pEdge2->node2==NULL)
4065 if(((pEdge1->node1 == pEdge2->node1 ||
4066 pEdge1->node1 == pEdge2->node2) &&
4067 pEdge1->node1 != NULL)||
4068 ((pEdge1->node2 == pEdge2->node1 ||
4075 if(pEdge1->node1!=NULL)
4076 pPar1Point1 = &(pEdge1->node1->node);
4082 if(pEdge2->node1!=NULL)
4083 pPar2Point1 = &(pEdge2->node1->node);
4102 pCvPointFloat pPoint1 = &(pDirectrice1->node1->node);
4106 pCvPointFloat pPoint3 = &(pDirectrice2->node1->node);
4206 if(((pEdge1->node1 == pEdge2->node1 ||
4207 pEdge1->node1 == pEdge2->node2) &&
4208 pEdge1->node1 != NULL)||
4209 ((pEdge1->node2 == pEdge2->node1 ||
4217 if(pEdge1->node1!=NULL)
4218 pPar1Point1 = &(pEdge1->node1->node);
4222 pCvPointFloat pPar2Point1 = &(pEdge2->node1->node);
4240 pCvPointFloat pPoint1 = &(pDirectrice1->node1->node);
4244 pCvPointFloat pPoint3 = &(pDirectrice2->node1->node);
4360 pEdge2->node1 = pEdge1->node2;
4376 pEdge_left_prev->node2 = pEdge->node1;
4392 pEdge_right_next->node1 = pEdge->node2;
4407 pEdge_left_next->node1 = pEdge->node2;
4422 pEdge_right_prev->node2 = pEdge->node1;
4443 pSite->node1 = pNode1;
4534 pEdge1->node1 = pEdge2->node2= pNode;
4558 pEdge1->node2 = pEdge2->node1= pNode;
4633 if(pSite->node1==pSite->node2)
4634 return _cvPPDist(pPoint,&(pSite->node1->node));
4636 return _cvPLDist(pPoint,&(pSite->node1->node),pSite->direction);