Warnings on vc14 were eliminated
[occt.git] / src / IntImpParGen / IntImpParGen.hxx
CommitLineData
42cf5bc1 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>
27class gp_Vec2d;
28class IntRes2d_Transition;
29class IntRes2d_Domain;
30class gp_Pnt2d;
31class IntImpParGen_ImpTool;
32class IntImpParGen_ImpParTool;
33class IntImpParGen_Intersector;
34class IntImpParGen_MyImpParTool;
35
36
37//! Gives a generic algorithm to intersect Implicit Curves
38//! and Bounded Parametric Curves.
39//!
40//! Level: Internal
41//!
42//! All the methods of all the classes are Internal.
43class IntImpParGen
44{
45public:
46
47 DEFINE_STANDARD_ALLOC
48
49
50 //! Template class for an implicit curve.
51 //! Math function, instantiated inside the Intersector.
52 //! Tool used by the package IntCurve and IntImpParGen
53 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);
54
55 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);
56
57 Standard_EXPORT static void DeterminePosition (IntRes2d_Position& Pos1, const IntRes2d_Domain& Dom1, const gp_Pnt2d& P1, const Standard_Real Tol);
58
59 Standard_EXPORT static Standard_Real NormalizeOnDomain (Standard_Real& Par1, const IntRes2d_Domain& Dom1);
60
61
62
63
64protected:
65
66
67
68
69
70private:
71
72
73
74
75friend class IntImpParGen_ImpTool;
76friend class IntImpParGen_ImpParTool;
77friend class IntImpParGen_Intersector;
78friend class IntImpParGen_MyImpParTool;
79
80};
81
82
83
84
85
86
87
88#endif // _IntImpParGen_HeaderFile