Searched refs:SiteDirection (Results 1 – 1 of 1) sorted by relevance
2528 CvDirection EdgeDirection,SiteDirection; in _cvConstructEdges() local2534 SiteDirection.x = pSite->node2->node.x - pSite->node1->node.x; in _cvConstructEdges()2535 SiteDirection.y = pSite->node2->node.y - pSite->node1->node.y; in _cvConstructEdges()2536 …site_lengh = (float)sqrt((double)SiteDirection.x*SiteDirection.x + SiteDirection.y * SiteDirection… in _cvConstructEdges()2537 SiteDirection.x /= site_lengh; in _cvConstructEdges()2538 SiteDirection.y /= site_lengh; in _cvConstructEdges()2539 EdgeDirection.x = -SiteDirection.y; in _cvConstructEdges()2540 EdgeDirection.y = SiteDirection.x; in _cvConstructEdges()2542 pSite->direction = _cvSeqPush(DirectionSeq,&SiteDirection); in _cvConstructEdges()