1 // Created on: 1991-06-25
2 // Created by: Christophe MARION
3 // Copyright (c) 1991-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _BRepTest_HeaderFile
18 #define _BRepTest_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
24 #include <Draw_Interpretor.hxx>
27 //! Provides commands to test BRep.
35 //! Defines all the topology commands.
36 Standard_EXPORT static void AllCommands (Draw_Interpretor& DI);
38 //! Defines the basic commands.
39 Standard_EXPORT static void BasicCommands (Draw_Interpretor& DI);
41 //! Defines the commands to build edges and wires.
42 Standard_EXPORT static void CurveCommands (Draw_Interpretor& DI);
44 //! Defines the commands to perform add fillets on
46 Standard_EXPORT static void Fillet2DCommands (Draw_Interpretor& DI);
48 //! Defines the commands to build faces and shells.
49 Standard_EXPORT static void SurfaceCommands (Draw_Interpretor& DI);
51 //! Defines the commands to build primitives.
52 Standard_EXPORT static void PrimitiveCommands (Draw_Interpretor& DI);
54 //! Defines the commands to build primitives.
55 Standard_EXPORT static void FillingCommands (Draw_Interpretor& DI);
57 //! Defines the commands to sweep shapes.
58 Standard_EXPORT static void SweepCommands (Draw_Interpretor& DI);
60 //! Defines the commands to perform topological
62 Standard_EXPORT static void TopologyCommands (Draw_Interpretor& DI);
64 //! Defines the commands to perform add fillets on
66 Standard_EXPORT static void FilletCommands (Draw_Interpretor& DI);
68 //! Defines the commands to perform add chamfers on
70 Standard_EXPORT static void ChamferCommands (Draw_Interpretor& DI);
72 //! Defines commands to compute global properties.
73 Standard_EXPORT static void GPropCommands (Draw_Interpretor& DI);
75 //! Defines commands to compute and to explore the map of the
77 Standard_EXPORT static void MatCommands (Draw_Interpretor& DI);
79 //! Defines the commands to modify draft angles of the
81 Standard_EXPORT static void DraftAngleCommands (Draw_Interpretor& DI);
83 //! Defines the commands to create features on a shape.
84 Standard_EXPORT static void FeatureCommands (Draw_Interpretor& DI);
86 //! Defines the auxiliary topology commands.
87 Standard_EXPORT static void OtherCommands (Draw_Interpretor& DI);
89 //! Defines the extrema commands.
90 Standard_EXPORT static void ExtremaCommands (Draw_Interpretor& DI);
92 //! Defines the checkshape command.
93 Standard_EXPORT static void CheckCommands (Draw_Interpretor& DI);
95 //! Defines the placement command.
96 Standard_EXPORT static void PlacementCommands (Draw_Interpretor& DI);
98 //! Defines the commands to project a wire on a shape.
99 Standard_EXPORT static void ProjectionCommands (Draw_Interpretor& DI);
101 //! Defines the History commands for the algorithms.
102 Standard_EXPORT static void HistoryCommands (Draw_Interpretor& DI);
126 #endif // _BRepTest_HeaderFile