Ignore:
Timestamp:
02/15/06 01:00:38 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Ray.cpp

    r564 r644  
    171171} 
    172172 
     173 
    173174int Ray::ClassifyPlane(const Plane3 &plane,  
    174175                                           const float minT,  
     
    185186        if (entSide < 0) 
    186187        { 
    187                 if (extSide >= 0) 
     188                if (extSide > 0) 
    188189                { 
    189190                        return BACK_FRONT; 
     
    193194        else if (entSide > 0) 
    194195        { 
    195                 if (extSide <= 0) 
     196                if (extSide < 0) 
    196197                        return FRONT_BACK; 
    197198                         
     
    201202        { 
    202203                if (extSide > 0) 
    203                         return BACK_FRONT; 
     204                        return FRONT; 
    204205                else if (extSide < 0) 
    205                         return FRONT_BACK; 
     206                        return BACK; 
    206207        } 
    207208         
Note: See TracChangeset for help on using the changeset viewer.