6#include <BRepBuilderAPI_MakeFace.hxx>
7#include <BRepAlgoAPI_Fuse.hxx>
11 QuadtreeNode(
double x,
double y,
double width,
double height);
13 void insert(BRepBuilderAPI_MakeFace& face);
17 bool contains(BRepBuilderAPI_MakeFace& face);
19 bool intersects(
double qx,
double qy,
double qwidth,
double qheight);
20 bool contains_in_query(BRepBuilderAPI_MakeFace& face,
double qx,
double qy,
double qwidth,
double qheight);
22 std::vector<BRepBuilderAPI_MakeFace> faces;
23 std::vector<std::shared_ptr<QuadtreeNode>> children;
24 double x, y, width, height;
26 static const int max_faces;
27 static const double min_size;
Definition QuadtreeNode.h:9
QuadtreeNode(double x, double y, double width, double height)
Definition QuadtreeNode.cpp:8
void insert(BRepBuilderAPI_MakeFace &face)
Definition QuadtreeNode.cpp:11
TopoDS_Shape fuse()
Definition QuadtreeNode.cpp:45