Vroni :
- corretta gestione del bisettore nel caso in cui i siti non siano definiti.
This commit is contained in:
@@ -393,6 +393,8 @@ vroniObject::IsRelatedEdge( int nEdge, int nOrigSite, bool bLeft)
|
||||
t_site nSiteTypeL, nSiteTypeR ;
|
||||
GetLftSiteData( nEdge, &nSiteL, &nSiteTypeL) ;
|
||||
GetRgtSiteData( nEdge, &nSiteR, &nSiteTypeR) ;
|
||||
if ( nSiteTypeL == UNKNOWN || nSiteTypeR == UNKNOWN || nSiteL == NIL || nSiteR == NIL)
|
||||
return false ;
|
||||
if ( ( nSiteTypeL == PNT && pnts[nSiteL].ext_appl.first == nOrigSite) ||
|
||||
( nSiteTypeL == SEG && segs[nSiteL].ext_appl.first == nOrigSite) ||
|
||||
( nSiteTypeL == ARC && arcs[nSiteL].ext_appl.first == nOrigSite) ||
|
||||
|
||||
Reference in New Issue
Block a user