Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-19 09:27:54

0001 // Created on: 1991-06-24
0002 // Created by: Christophe MARION
0003 // Copyright (c) 1991-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _GeometryTest_HeaderFile
0018 #define _GeometryTest_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 #include <Draw_Interpretor.hxx>
0025 
0026 //! this package provides commands for curves and
0027 //! surface.
0028 class GeometryTest
0029 {
0030 public:
0031   DEFINE_STANDARD_ALLOC
0032 
0033   //! defines all geometric commands.
0034   Standard_EXPORT static void AllCommands(Draw_Interpretor& I);
0035 
0036   //! defines curve commands.
0037   Standard_EXPORT static void CurveCommands(Draw_Interpretor& I);
0038 
0039   //! defines tangent curve commands.
0040   Standard_EXPORT static void CurveTanCommands(Draw_Interpretor& I);
0041 
0042   //! defines fair curve commands.
0043   Standard_EXPORT static void FairCurveCommands(Draw_Interpretor& I);
0044 
0045   //! defines surface commands.
0046   Standard_EXPORT static void SurfaceCommands(Draw_Interpretor& I);
0047 
0048   //! defines constrained curves commands.
0049   Standard_EXPORT static void ConstraintCommands(Draw_Interpretor& I);
0050 
0051   //! defines commands to test the GeomAPI
0052   //! - Intersection
0053   //! - Extrema
0054   //! - Projection
0055   //! - Approximation, interpolation
0056   Standard_EXPORT static void APICommands(Draw_Interpretor& I);
0057 
0058   //! defines commands to check local
0059   //! continuity between curves or surfaces
0060   Standard_EXPORT static void ContinuityCommands(Draw_Interpretor& I);
0061 
0062   //! defines command to test the polyhedral
0063   //! triangulations and the polygons from the Poly package.
0064   Standard_EXPORT static void PolyCommands(Draw_Interpretor& I);
0065 
0066   //! defines commands to test projection of geometric objects
0067   Standard_EXPORT static void TestProjCommands(Draw_Interpretor& I);
0068 };
0069 
0070 #endif // _GeometryTest_HeaderFile