Home | History | Annotate | Download | only in src

Lines Matching refs:Direction

111     CvDirection* direction;
123 CvDirection* direction;
505 direction around the top vertex of given hole.
520 direction around the top vertex of given hole.
597 Description : Compute the direction of bisector of two segments
599 pDirection1: in, direction of first segment
600 pDirection2: in, direction of second segment
2541 Edge.direction = _cvSeqPush(DirectionSeq,&EdgeDirection);
2542 pSite->direction = _cvSeqPush(DirectionSeq,&SiteDirection);
2555 pEdge2->direction = pSite_next->edge1->direction;
2559 pEdge1->direction = pSite_prev->edge2->direction;
2935 CvPointFloat Direction;
2972 Direction.x = -pSite->direction->y;
2973 Direction.y = pSite->direction->x;
2976 (pTopPoint->x - pPoint2->x)*Direction.y -
2977 (pTopPoint->y - pPoint2->y)*Direction.x > 0
2979 (pTopPoint->x - pPoint1->x)*Direction.y -
2980 (pTopPoint->y - pPoint1->y)*Direction.x < 0
2982 (pTopPoint->x - pPoint1->x)*pSite->direction->y -
2983 (pTopPoint->y - pPoint1->y)*pSite->direction->x > 0
2993 (pTopPoint->x - pPoint1->x)*pSite->edge2->direction->y -
2994 (pTopPoint->y - pPoint1->y)*pSite->edge2->direction->x > 0
2996 (pTopPoint->x - pPoint1->x)*pSite->edge1->direction->y -
2997 (pTopPoint->y - pPoint1->y)*pSite->edge1->direction->x < 0
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;
3030 Direction.x = pHole->site_nearest->direction->y * min_distance / 2;
3031 Direction.y = - pHole->site_nearest->direction->x * min_distance / 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;
3075 CvDirection Direction = {-1,0};
3076 CvVoronoiEdgeInt Edge_right = {NULL,pSite_right->node1,pSite_right,NULL,NULL,NULL,NULL,&Direction};
3090 pEdge->direction = NULL;
3130 CvDirection Direction = {-1,0};
3131 CvVoronoiEdgeInt Edge_left = {pSite_left->node1,NULL,pSite_left,NULL,NULL,NULL, NULL, &Direction};
3146 pEdge->direction = NULL;
3364 _cvCalcEdgeLL(pSite_left->direction,
3365 pSite_right->direction,
3412 CvDirection Direction = {pDirection2->x - pDirection1->x, pDirection2->y - pDirection1->y};
3413 if((fabs(Direction.x)<LEE_CONST_ZERO)&&(fabs(Direction.y)<LEE_CONST_ZERO))
3414 Direction = *pDirection2;
3415 pEdge->direction = _cvSeqPush(pVoronoiDiagram->DirectionSeq,&Direction);;
3424 CvDirection Direction = {pPoint1->y - pPoint2->y,pPoint2->x - pPoint1->x};
3425 pEdge->direction = _cvSeqPush(pVoronoiDiagram->DirectionSeq,&Direction);
3438 float half_h = (Vector01.y*pDirectrice->direction->x - Vector01.x*pDirectrice->direction->y)/2;
3439 CvDirection Normal = {-pDirectrice->direction->y,pDirectrice->direction->x};
3442 pEdge->direction = _cvSeqPush(pVoronoiDiagram->DirectionSeq,&Normal);
3472 float half_h = (Vector01.y*pDirectrice->direction->x - Vector01.x*pDirectrice->direction->y)/2;
3473 CvDirection Normal = {-pDirectrice->direction->y,pDirectrice->direction->x};
3476 pEdge->direction = _cvSeqPush(pVoronoiDiagram->DirectionSeq,&Normal);
3546 x21 = pEdge1->direction->x;
3547 y21 = pEdge1->direction->y;
3553 x43 = pEdge2->direction->x;
3554 y43 = pEdge2->direction->y;
3561 x43 = pEdge2->direction->x;
3562 y43 = pEdge2->direction->y;
3629 pCvDirection pDirection = pEdge1->direction;
3739 pCvDirection pDirection = pEdge1->direction;
3887 pCvDirection pDirection = pEdge2->direction;
3974 pCvDirection pDirection = pEdge2->direction;
4088 CvDirection Direction;
4096 Direction.x = pFocus1->y - pFocus2->y;
4097 Direction.y = pFocus2->x - pFocus1->x;
4103 pCvDirection pVector21 = pDirectrice1->direction;
4107 pCvDirection pVector43 = pDirectrice2->direction;
4109 Direction.x = pVector43->x - pVector21->x;
4110 Direction.y = pVector43->y - pVector21->y;
4112 if((fabs(Direction.x) < LEE_CONST_ZERO) &&
4113 (fabs(Direction.y) < LEE_CONST_ZERO))
4114 Direction = *pVector43;
4136 _cvCalcVectorImage(&Direction_img,&Direction, InversParabola2);
4226 CvDirection Direction;
4234 Direction.x = pFocus1->y - pFocus2->y;
4235 Direction.y = pFocus2->x - pFocus1->x;
4241 pCvDirection pVector21 = pDirectrice1->direction;
4245 pCvDirection pVector43 = pDirectrice2->direction;
4247 Direction.x = pVector43->x - pVector21->x;
4248 Direction.y = pVector43->y - pVector21->y;
4250 if((fabs(Direction.x) < LEE_CONST_ZERO) &&
4251 (fabs(Direction.y) < LEE_CONST_ZERO))
4252 Direction = *pVector43;
4276 _cvCalcVectorImage(&Direction_img,&Direction, InversParabola2);
4358 pEdge2->direction = pEdge1->direction;
4636 return _cvPLDist(pPoint,&(pSite->node1->node),pSite->direction);