|
BRL-CAD
|
#include <surfacetree.h>
Public Member Functions | |
| SurfaceTree (const ON_BrepFace *face, bool removeTrimmed=true, int depthLimit=BREP_MAX_FT_DEPTH, double within_distance_tol=BREP_EDGE_MISS_TOLERANCE) | |
| ~SurfaceTree () | |
| bool | Valid () const |
| BBNode * | getRootNode () const |
| ON_2dPoint | getClosestPointEstimate (const ON_3dPoint &pt) const |
| ON_2dPoint | getClosestPointEstimate (const ON_3dPoint &pt, ON_Interval &u, ON_Interval &v) const |
| const ON_Surface * | getSurface () const |
| int | getSurfacePoint (const ON_3dPoint &pt, ON_2dPoint &uv, const ON_3dPoint &from, double tolerance=BREP_SAME_POINT_TOLERANCE) const |
| void | getLeaves (std::list< const BBNode * > &out_leaves) const |
Data Fields | |
| const CurveTree * | m_ctree |
SurfaceTree declaration
Definition at line 56 of file surfacetree.h.
|
explicit |
| ~SurfaceTree | ( | ) |
|
inline |
Definition at line 62 of file surfacetree.h.
| BBNode * getRootNode | ( | ) | const |
| ON_2dPoint getClosestPointEstimate | ( | const ON_3dPoint & | pt | ) | const |
Calculate, using the surface bounding volume hierarchy, a uv estimate for the closest point on the surface to the point in 3-space.
| ON_2dPoint getClosestPointEstimate | ( | const ON_3dPoint & | pt, |
| ON_Interval & | u, | ||
| ON_Interval & | v | ||
| ) | const |
| const ON_Surface * getSurface | ( | ) | const |
Return surface
| int getSurfacePoint | ( | const ON_3dPoint & | pt, |
| ON_2dPoint & | uv, | ||
| const ON_3dPoint & | from, | ||
| double | tolerance = BREP_SAME_POINT_TOLERANCE |
||
| ) | const |
Return just the leaves of the surface tree
Definition at line 89 of file surfacetree.h.