1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024002: Overall code and build procedure refactoring -- automatic

Automatic upgrade of OCCT code by command "occt_upgrade . -nocdl":
- WOK-generated header files from inc and sources from drv are moved to src
- CDL files removed
- All packages are converted to nocdlpack
This commit is contained in:
abv
2015-07-12 07:42:38 +03:00
parent 543a996496
commit 42cf5bc1ca
15354 changed files with 623957 additions and 509844 deletions

View File

@@ -1,9 +1,11 @@
GeometryTest_ConstraintCommands.cxx
GeometryTest_CurveCommands.cxx
GeometryTest_FairCurveCommands.cxx
GeometryTest_SurfaceCommands.cxx
GeometryTest.cxx
GeometryTest.hxx
GeometryTest_API2dCommands.cxx
GeometryTest_APICommands.cxx
GeometryTest_ConstraintCommands.cxx
GeometryTest_ContinuityCommands.cxx
GeometryTest_CurveCommands.cxx
GeometryTest_FairCurveCommands.cxx
GeometryTest_PolyCommands.cxx
GeometryTest_SurfaceCommands.cxx
GeometryTest_TestProjCommands.cxx

View File

@@ -1,72 +0,0 @@
-- Created on: 1991-06-24
-- Created by: Christophe MARION
-- Copyright (c) 1991-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
-- modified by mps (dec 96) add of ContinuityCommands
package GeometryTest
---Purpose: this package provides commands for curves and
-- surface.
uses
Draw,
Standard,
GeomliteTest
is
AllCommands(I : in out Interpretor from Draw);
---Purpose: defines all geometric commands.
CurveCommands(I : in out Interpretor from Draw);
---Purpose: defines curve commands.
FairCurveCommands(I : in out Interpretor from Draw);
---Purpose: defines fair curve commands.
SurfaceCommands(I : in out Interpretor from Draw);
---Purpose: defines surface commands.
ConstraintCommands(I : in out Interpretor from Draw);
---Purpose: defines cosntrained curves commands.
API2dCommands(I : in out Interpretor from Draw);
---Purpose: defines commands to test the Geom2dAPI
-- - Intersection
-- - Extrema
-- - Projection
-- - Approximation, interpolation
APICommands(I : in out Interpretor from Draw);
---Purpose: defines commands to test the Geom2dAPI
-- - Intersection
-- - Extrema
-- - Projection
-- - Approximation, interpolation
ContinuityCommands(I : in out Interpretor from Draw);
--- Purpose: defines commands to check local
-- continuity between curves or surfaces
PolyCommands(I : in out Interpretor from Draw);
---Purpose: defines command to test the polyhedral
-- triangulations and the polygons from the Poly package.
TestProjCommands(I : in out Interpretor from Draw);
---Purpose: defines commands to test projection of geometric objects
end GeometryTest;

View File

@@ -0,0 +1,99 @@
// Created on: 1991-06-24
// Created by: Christophe MARION
// Copyright (c) 1991-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _GeometryTest_HeaderFile
#define _GeometryTest_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Draw_Interpretor.hxx>
//! this package provides commands for curves and
//! surface.
class GeometryTest
{
public:
DEFINE_STANDARD_ALLOC
//! defines all geometric commands.
Standard_EXPORT static void AllCommands (Draw_Interpretor& I);
//! defines curve commands.
Standard_EXPORT static void CurveCommands (Draw_Interpretor& I);
//! defines fair curve commands.
Standard_EXPORT static void FairCurveCommands (Draw_Interpretor& I);
//! defines surface commands.
Standard_EXPORT static void SurfaceCommands (Draw_Interpretor& I);
//! defines cosntrained curves commands.
Standard_EXPORT static void ConstraintCommands (Draw_Interpretor& I);
//! defines commands to test the Geom2dAPI
//! - Intersection
//! - Extrema
//! - Projection
//! - Approximation, interpolation
Standard_EXPORT static void API2dCommands (Draw_Interpretor& I);
//! defines commands to test the Geom2dAPI
//! - Intersection
//! - Extrema
//! - Projection
//! - Approximation, interpolation
Standard_EXPORT static void APICommands (Draw_Interpretor& I);
//! defines commands to check local
//! continuity between curves or surfaces
Standard_EXPORT static void ContinuityCommands (Draw_Interpretor& I);
//! defines command to test the polyhedral
//! triangulations and the polygons from the Poly package.
Standard_EXPORT static void PolyCommands (Draw_Interpretor& I);
//! defines commands to test projection of geometric objects
Standard_EXPORT static void TestProjCommands (Draw_Interpretor& I);
protected:
private:
};
#endif // _GeometryTest_HeaderFile

View File

@@ -14,19 +14,19 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <GeometryTest.ixx>
#include <Draw.hxx>
#include <DrawFairCurve_Batten.hxx>
#include <DrawFairCurve_MinimalVariation.hxx>
#include <DrawTrSurf.hxx>
#include <DrawTrSurf_Point.hxx>
#include <gp_Pnt2d.hxx>
#include <FairCurve_AnalysisCode.hxx>
#include <FairCurve_Batten.hxx>
#include <FairCurve_MinimalVariation.hxx>
#include <DrawFairCurve_Batten.hxx>
#include <DrawFairCurve_MinimalVariation.hxx>
#include <string.h>
#include <GeometryTest.hxx>
#include <gp_Pnt2d.hxx>
#include <string.h>
//=======================================================================
Standard_Boolean IsGoodNumber(Standard_Integer argc, Standard_Integer waiting, Draw_Interpretor& di)
//=======================================================================

View File

@@ -14,20 +14,20 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <GeometryTest.ixx>
#include <Poly_Triangulation.hxx>
#include <Draw_Appli.hxx>
#include <DrawTrSurf.hxx>
#include <DrawTrSurf_Polygon2D.hxx>
#include <DrawTrSurf_Polygon3D.hxx>
#include <DrawTrSurf_Triangulation.hxx>
#include <GeometryTest.hxx>
#include <Poly_Array1OfTriangle.hxx>
#include <Poly_Polygon2D.hxx>
#include <Poly_Polygon3D.hxx>
#include <Poly_Triangle.hxx>
#include <Poly_Triangulation.hxx>
#include <TColgp_Array1OfPnt.hxx>
#include <TColgp_Array1OfPnt2d.hxx>
#include <DrawTrSurf.hxx>
#include <Draw_Appli.hxx>
#include <DrawTrSurf_Triangulation.hxx>
#include <DrawTrSurf_Polygon3D.hxx>
#include <DrawTrSurf_Polygon2D.hxx>
#include <Poly_Polygon3D.hxx>
#include <Poly_Polygon2D.hxx>
#ifdef WNT
Standard_IMPORT Draw_Viewer dout;