UT_LineTree Class Reference

#include <UT_LineTree.h>

List of all members.

Public Member Functions

 UT_LineTree ()
virtual ~UT_LineTree ()
int addLine (const UT_Vector3 &pt1, const UT_Vector3 &pt2)
int buildTree (UT_BoundingBox &bbox)
void clear ()
int findNearestLineSegment (const UT_Vector3 &pt, float *dist2=NULL)
unsigned findKNearestLineSegments (const UT_Vector3 &pt, int line_id[], float line_dist2[], unsigned max_lines)
void requestThreshold (unsigned threshold)
int getLineById (int id, UT_Vector3 &pt1, UT_Vector3 &pt2)
void dumpTree () const


Detailed Description

Definition at line 33 of file UT_LineTree.h.


Constructor & Destructor Documentation

UT_LineTree::UT_LineTree (  ) 

virtual UT_LineTree::~UT_LineTree (  )  [virtual]


Member Function Documentation

int UT_LineTree::addLine ( const UT_Vector3 pt1,
const UT_Vector3 pt2 
)

int UT_LineTree::buildTree ( UT_BoundingBox bbox  ) 

void UT_LineTree::clear (  ) 

void UT_LineTree::dumpTree (  )  const

unsigned UT_LineTree::findKNearestLineSegments ( const UT_Vector3 pt,
int  line_id[],
float  line_dist2[],
unsigned  max_lines 
)

int UT_LineTree::findNearestLineSegment ( const UT_Vector3 pt,
float *  dist2 = NULL 
)

int UT_LineTree::getLineById ( int  id,
UT_Vector3 pt1,
UT_Vector3 pt2 
)

void UT_LineTree::requestThreshold ( unsigned  threshold  )  [inline]

Definition at line 71 of file UT_LineTree.h.


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:50 2012 for HDK by  doxygen 1.5.9