remove duplicate and unused class

This commit is contained in:
wmayer 2016-11-07 12:28:22 +01:00
parent 57db39bf05
commit 6347d48449
2 changed files with 0 additions and 22 deletions

View File

@ -84,27 +84,6 @@
using namespace PartDesign;
// sort bounding boxes according to diagonal length
class ProfileBased::Wire_Compare : public std::binary_function<const TopoDS_Wire&,
const TopoDS_Wire&, bool> {
public:
bool operator() (const TopoDS_Wire& w1, const TopoDS_Wire& w2)
{
Bnd_Box box1, box2;
if (!w1.IsNull()) {
BRepBndLib::Add(w1, box1);
box1.SetGap(0.0);
}
if (!w2.IsNull()) {
BRepBndLib::Add(w2, box2);
box2.SetGap(0.0);
}
return box1.SquareExtent() < box2.SquareExtent();
}
};
PROPERTY_SOURCE(PartDesign::ProfileBased, PartDesign::FeatureAddSub)
ProfileBased::ProfileBased()

View File

@ -143,7 +143,6 @@ protected:
/// Check whether the line crosses the face (line and face must be on the same plane)
static bool checkLineCrossesFace(const gp_Lin& line, const TopoDS_Face& face);
class Wire_Compare;
/// Used to suggest a value for Reversed flag so that material is always removed (Groove) or added (Revolution) from the support