#include <UT_LineTree.h>
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 |
Definition at line 33 of file UT_LineTree.h.
| UT_LineTree::UT_LineTree | ( | ) |
| virtual UT_LineTree::~UT_LineTree | ( | ) | [virtual] |
| 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.
1.5.9