0032641: Coding - get rid of unused forward declarations [IGESAppli to LDOM]
[occt.git] / src / IntImpParGen / IntImpParGen.hxx
1 // Created on: 1992-03-02
2 // Created by: Laurent BUCHARD
3 // Copyright (c) 1992-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _IntImpParGen_HeaderFile
18 #define _IntImpParGen_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23
24 #include <IntRes2d_Position.hxx>
25 #include <Standard_Real.hxx>
26 #include <Standard_Boolean.hxx>
27 class gp_Vec2d;
28 class IntRes2d_Transition;
29 class IntRes2d_Domain;
30 class gp_Pnt2d;
31
32
33 //! Gives a generic algorithm to intersect Implicit Curves
34 //! and Bounded Parametric Curves.
35 //!
36 //! Level: Internal
37 //!
38 //! All the methods of all the classes are Internal.
39 class IntImpParGen 
40 {
41 public:
42
43   DEFINE_STANDARD_ALLOC
44
45   
46   //! Template class for an implicit  curve.
47   //! Math function, instantiated inside the Intersector.
48   //! Tool used by the package IntCurve and IntImpParGen
49   Standard_EXPORT static void DetermineTransition (const IntRes2d_Position Pos1, gp_Vec2d& Tan1, const gp_Vec2d& Norm1, IntRes2d_Transition& Trans1, const IntRes2d_Position Pos2, gp_Vec2d& Tan2, const gp_Vec2d& Norm2, IntRes2d_Transition& Trans2, const Standard_Real Tol);
50   
51   Standard_EXPORT static Standard_Boolean DetermineTransition (const IntRes2d_Position Pos1, gp_Vec2d& Tan1, IntRes2d_Transition& Trans1, const IntRes2d_Position Pos2, gp_Vec2d& Tan2, IntRes2d_Transition& Trans2, const Standard_Real Tol);
52   
53   Standard_EXPORT static void DeterminePosition (IntRes2d_Position& Pos1, const IntRes2d_Domain& Dom1, const gp_Pnt2d& P1, const Standard_Real Tol);
54   
55   Standard_EXPORT static Standard_Real NormalizeOnDomain (Standard_Real& Par1, const IntRes2d_Domain& Dom1);
56
57
58
59
60 protected:
61
62
63
64
65
66 private:
67
68
69
70
71 friend class IntImpParGen_ImpTool;
72 friend class IntImpParGen_ImpParTool;
73 friend class IntImpParGen_Intersector;
74 friend class IntImpParGen_MyImpParTool;
75
76 };
77
78
79
80
81
82
83
84 #endif // _IntImpParGen_HeaderFile