129 Stl() : m_children() {}
152 m_stl->m_children.push_back(
child);
159 std::vector<const BRNode *>::iterator i;
160 for (i = m_stl->m_children.begin(); i != m_stl->m_children.end();) {
163 i = m_stl->m_children.erase(i);
171 BRNode::isLeaf()
const
173 if (m_stl->m_children.empty()) {
bool isTrimmed(const ON_2dPoint &uv, double &trimdist) const
fastf_t getCurveEstimateOfV(fastf_t u, fastf_t tol) const
void addChild(BRNode *child)
void getLeaves(std::list< const BRNode * > &out_leaves) const
void serialize(Serializer &serializer) const
fastf_t getCurveEstimateOfU(fastf_t v, fastf_t tol) const
ON_2dPoint getClosestPointEstimate(const ON_3dPoint &pt, ON_Interval &u, ON_Interval &v) const
BRNode(const ON_Curve *curve, int trim_index, int adj_face_index, const ON_BoundingBox &node, const ON_BrepFace *face, const ON_Interval &t, bool innerTrim, bool checkTrim, bool trimmed)
void GetBBox(fastf_t *min, fastf_t *max) const
BRNode(Deserializer &deserializer, const ON_Brep &brep)
ON_2dPoint getClosestPointEstimate(const ON_3dPoint &pt) const
BRNode(const ON_BoundingBox &node)
Header file for the BRL-CAD common definitions.
void int char int int double * min
#define LIKELY(expression)
#define VSETALL(v, s)
Set all elements of 3D vector to same scalar value.
#define VMINMAX(min, max, pt)
double fastf_t
fastest 64-bit (or larger) floating point type
bool sortY(const BRNode *first, const BRNode *second)
bool sortX(const BRNode *first, const BRNode *second)