File indexing completed on 2025-01-18 10:03:05
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef BOPTools_BoxTree_HeaderFile
0016 #define BOPTools_BoxTree_HeaderFile
0017
0018 #include <BOPTools_BoxSelector.hxx>
0019 #include <BOPTools_PairSelector.hxx>
0020 #include <Standard_Integer.hxx>
0021 #include <BVH_LinearBuilder.hxx>
0022
0023
0024
0025 template <class NumType, int Dimension, class DataType>
0026 class BOPTools_BoxSet : public BVH_BoxSet <NumType, Dimension, DataType>
0027 {
0028 public:
0029
0030 BOPTools_BoxSet (const opencascade::handle <BVH_Builder <NumType, Dimension> >& theBuilder = NULL)
0031 : BVH_BoxSet <NumType, Dimension, DataType> (theBuilder.IsNull() ? new BVH_LinearBuilder<NumType, Dimension>() : theBuilder)
0032 {}
0033 };
0034
0035
0036 typedef BOPTools_BoxSet <Standard_Real, 2, Standard_Integer> BOPTools_Box2dTree;
0037 typedef BOPTools_BoxSelector<2> BOPTools_Box2dTreeSelector;
0038 typedef BOPTools_PairSelector<2> BOPTools_Box2dPairSelector;
0039
0040
0041 typedef BOPTools_BoxSet <Standard_Real, 3, Standard_Integer> BOPTools_BoxTree;
0042 typedef BOPTools_BoxSelector<3> BOPTools_BoxTreeSelector;
0043 typedef BOPTools_PairSelector<3> BOPTools_BoxPairSelector;
0044
0045 #endif