#include <UT_LineTree.h>
 | 
|   | UT_LineTree () | 
|   | 
|   | ~UT_LineTree () | 
|   | 
|   | UT_LineTree (const UT_LineTree &)=delete | 
|   | 
| UT_LineTree &  | operator= (const UT_LineTree &)=delete | 
|   | 
| int  | addLine (const UT_Vector3 &pt1, const UT_Vector3 &pt2) | 
|   | 
| int  | size () const  | 
|   | 
| void  | setCapacity (unsigned capacity) | 
|   | 
| bool  | buildTree () | 
|   | 
| void  | clear () | 
|   | 
| int  | findNearestLineSegment (const UT_Vector3 &pt, float *dist2=NULL) const  | 
|   | 
| unsigned  | findKNearestLineSegments (const UT_Vector3 &pt, int line_id[], float line_dist2[], unsigned max_lines, float max_dist2) const  | 
|   | 
| unsigned  | findKNearestLineSegments (const UT_Vector3 &pt, int line_id[], float line_dist2[], unsigned max_lines) const  | 
|   | 
| void  | requestThreshold (unsigned threshold) | 
|   | 
| bool  | getLineById (int id, UT_Vector3 &pt1, UT_Vector3 &pt2) | 
|   | 
| void  | reverseLine (int id) | 
|   | 
| const UT_Vector3 &  | linePos1 (int id) const  | 
|   | 
| const UT_Vector3 &  | linePos2 (int id) const  | 
|   | 
| void  | dumpTree (bool verbose=true) const  | 
|   | 
Definition at line 30 of file UT_LineTree.h.
 
      
        
          | UT_LineTree::UT_LineTree  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | UT_LineTree::~UT_LineTree  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | bool UT_LineTree::buildTree  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void UT_LineTree::clear  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void UT_LineTree::dumpTree  | 
          ( | 
          bool  | 
          verbose = true | ) | 
           const | 
        
      
 
 
      
        
          | unsigned UT_LineTree::findKNearestLineSegments  | 
          ( | 
          const UT_Vector3 &  | 
          pt,  | 
        
        
           | 
           | 
          int  | 
          line_id[],  | 
        
        
           | 
           | 
          float  | 
          line_dist2[],  | 
        
        
           | 
           | 
          unsigned  | 
          max_lines,  | 
        
        
           | 
           | 
          float  | 
          max_dist2  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
      
        
          | unsigned UT_LineTree::findKNearestLineSegments  | 
          ( | 
          const UT_Vector3 &  | 
          pt,  | 
        
        
           | 
           | 
          int  | 
          line_id[],  | 
        
        
           | 
           | 
          float  | 
          line_dist2[],  | 
        
        
           | 
           | 
          unsigned  | 
          max_lines  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
      
        
          | int UT_LineTree::findNearestLineSegment  | 
          ( | 
          const UT_Vector3 &  | 
          pt,  | 
        
        
           | 
           | 
          float *  | 
          dist2 = NULL  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
  
  
      
        
          | void UT_LineTree::requestThreshold  | 
          ( | 
          unsigned  | 
          threshold | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void UT_LineTree::reverseLine  | 
          ( | 
          int  | 
          id | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void UT_LineTree::setCapacity  | 
          ( | 
          unsigned  | 
          capacity | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int UT_LineTree::size  | 
          ( | 
          void  | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
The documentation for this class was generated from the following file: