27#ifndef BREP_SURFACETREE_H
28#define BREP_SURFACETREE_H
87 void getLeaves(std::list<const BBNode *> &out_leaves)
const;
96 bool isFlat(
const ON_Plane frames[9])
const;
97 bool isStraight(
const ON_Plane frames[9])
const;
98 bool isFlatU(
const ON_Plane frames[9])
const;
99 bool isFlatV(
const ON_Plane frames[9])
const;
100 BBNode *subdivideSurface(
const ON_Surface *localsurf,
const ON_Interval &u,
const ON_Interval &v, ON_Plane frames[9],
int depth,
int depthLimit,
int prev_knot,
double within_distance_tol)
const;
101 BBNode *surfaceBBox(
const ON_Surface *localsurf,
bool leaf,
const ON_Plane frames[9],
const ON_Interval &u,
const ON_Interval &v,
double within_distance_tol)
const;
103 const bool m_removeTrimmed;
104 const ON_BrepFace *
const m_face;
106 std::queue<ON_Plane *> *
const m_f_queue;
SurfaceTree(const ON_BrepFace *face, bool removeTrimmed=true, int depthLimit=BREP_MAX_FT_DEPTH, double within_distance_tol=BREP_EDGE_MISS_TOLERANCE)
const ON_Surface * getSurface() const
ON_2dPoint getClosestPointEstimate(const ON_3dPoint &pt, ON_Interval &u, ON_Interval &v) const
BBNode * getRootNode() const
const CurveTree * m_ctree
void getLeaves(std::list< const BBNode * > &out_leaves) const
int getSurfacePoint(const ON_3dPoint &pt, ON_2dPoint &uv, const ON_3dPoint &from, double tolerance=BREP_SAME_POINT_TOLERANCE) const
ON_2dPoint getClosestPointEstimate(const ON_3dPoint &pt) const
Header file for the BRL-CAD common definitions.
#define BREP_SAME_POINT_TOLERANCE
#define BREP_MAX_FT_DEPTH
#define BREP_EDGE_MISS_TOLERANCE