remove superfluous classes BezierSurface and BSplineSurface

This commit is contained in:
wmayer
2017-04-16 10:46:55 +02:00
parent ff34c3eece
commit 951bf59ef4
6 changed files with 0 additions and 201 deletions

View File

@@ -32,8 +32,6 @@
#include "FeatureSewing.h"
#include "FeatureCut.h"
#include "FeatureSurface.h"
#include "FeatureBezierSurface.h"
#include "FeatureBSplineSurface.h"
#include <Base/Interpreter.h>
#include <Base/Parameter.h>
@@ -80,8 +78,6 @@ PyMOD_INIT_FUNC(Surface)
Surface::Sewing ::init();
Surface::Cut ::init();
Surface::SurfaceFeature ::init();
Surface::BezierSurface ::init();
Surface::BSplineSurface ::init();
PyMOD_Return(mod);
}

View File

@@ -29,10 +29,6 @@ SET(Surface_SRCS
FeatureSewing.h
FeatureCut.cpp
FeatureCut.h
FeatureBezierSurface.cpp
FeatureBezierSurface.h
FeatureBSplineSurface.cpp
FeatureBSplineSurface.h
)
link_directories(${OCC_LIBRARY_DIR})

View File

@@ -1,56 +0,0 @@
/***************************************************************************
* Copyright (c) 2014-2015 Nathan Miller <Nathan.A.Mill[at]gmail.com> *
* Balázs Bámer *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#include <TopoDS.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Wire.hxx>
#include <Geom_BSplineCurve.hxx>
#include <Geom_BSplineSurface.hxx>
#include <Precision.hxx>
#include <gp_Trsf.hxx>
#include <BRep_Tool.hxx>
#include <TopExp_Explorer.hxx>
#include <Standard_ConstructionError.hxx>
#include <GeomFill_BSplineCurves.hxx>
#include <GeomFill.hxx>
#include <BRepBuilderAPI_NurbsConvert.hxx>
#include <StdFail_NotDone.hxx>
#endif
#include <Base/Tools.h>
#include <Base/Exception.h>
#include "FeatureBSplineSurface.h"
using namespace Surface;
PROPERTY_SOURCE(Surface::BSplineSurface, Surface::SurfaceFeature)
BSplineSurface::BSplineSurface() : SurfaceFeature()
{
}

View File

@@ -1,42 +0,0 @@
/***************************************************************************
* Copyright (c) 2014-2015 Nathan Miller <Nathan.A.Mill[at]gmail.com> *
* Balázs Bámer *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#ifndef SURFACE_FEATUREBSPLINESURFACE_H
#define SURFACE_FEATUREBSPLINESURFACE_H
#include "FeatureSurface.h"
namespace Surface
{
class SurfaceExport BSplineSurface : public SurfaceFeature
{
PROPERTY_HEADER(Surface::BSplineSurface);
public:
BSplineSurface();
};
}//Namespace Surface
#endif

View File

@@ -1,53 +0,0 @@
/***************************************************************************
* Copyright (c) 2014-2015 Nathan Miller <Nathan.A.Mill[at]gmail.com> *
* Balázs Bámer *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#include <TopoDS.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Wire.hxx>
#include <Geom_BezierCurve.hxx>
#include <Geom_BezierSurface.hxx>
#include <Precision.hxx>
#include <gp_Trsf.hxx>
#include <BRep_Tool.hxx>
#include <TopExp_Explorer.hxx>
#include <Standard_ConstructionError.hxx>
#include <GeomFill_BezierCurves.hxx>
#include <GeomFill.hxx>
#endif
#include <Base/Tools.h>
#include <Base/Exception.h>
#include "FeatureBezierSurface.h"
using namespace Surface;
PROPERTY_SOURCE(Surface::BezierSurface, Surface::SurfaceFeature)
BezierSurface::BezierSurface() : SurfaceFeature()
{
}

View File

@@ -1,42 +0,0 @@
/***************************************************************************
* Copyright (c) 2014-2015 Nathan Miller <Nathan.A.Mill[at]gmail.com> *
* Balázs Bámer *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#ifndef SURFACE_FEATUREBEZIERSURFACE_H
#define SURFACE_FEATUREBEZIERSURFACE_H
#include "FeatureSurface.h"
namespace Surface
{
class SurfaceExport BezierSurface : public SurfaceFeature
{
PROPERTY_HEADER(Surface::BezierSurface);
public:
BezierSurface();
};
}//Namespace Surface
#endif