0027232: Configuration - fix mblen missing building issue on Android
[occt.git] / src / HLRBRep / HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter.hxx
CommitLineData
42cf5bc1 1// Created on: 1992-10-14
2// Created by: Christophe MARION
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 _HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter_HeaderFile
18#define _HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <IntRes2d_Intersection.hxx>
25#include <Standard_Address.hxx>
26#include <Standard_Real.hxx>
27#include <Standard_Integer.hxx>
28#include <TColStd_Array1OfReal.hxx>
29class Standard_ConstructionError;
30class IntCurve_IConicTool;
31class HLRBRep_CurveTool;
32class HLRBRep_TheProjPCurOfCInter;
33class HLRBRep_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfCInter;
34class IntRes2d_Domain;
35class gp_Pnt2d;
36
37
38
39class HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter : public IntRes2d_Intersection
40{
41public:
42
43 DEFINE_STANDARD_ALLOC
44
45
36b9ff75 46 //! Empty constructor.
42cf5bc1 47 Standard_EXPORT HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter();
48
36b9ff75 49 //! Intersection between an implicit curve and
50 //! a parametrised curve.
51 //! The exception ConstructionError is raised if the domain
52 //! of the parametrised curve does not verify HasFirstPoint
53 //! and HasLastPoint return True.
42cf5bc1 54 Standard_EXPORT HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter(const IntCurve_IConicTool& ITool, const IntRes2d_Domain& Dom1, const Standard_Address& PCurve, const IntRes2d_Domain& Dom2, const Standard_Real TolConf, const Standard_Real Tol);
55
36b9ff75 56 //! Intersection between an implicit curve and
57 //! a parametrised curve.
58 //! The exception ConstructionError is raised if the domain
59 //! of the parametrised curve does not verify HasFirstPoint
60 //! and HasLastPoint return True.
42cf5bc1 61 Standard_EXPORT void Perform (const IntCurve_IConicTool& ITool, const IntRes2d_Domain& Dom1, const Standard_Address& PCurve, const IntRes2d_Domain& Dom2, const Standard_Real TolConf, const Standard_Real Tol);
62
63 Standard_EXPORT Standard_Real FindU (const Standard_Real parameter, gp_Pnt2d& point, const Standard_Address& TheParCurev, const IntCurve_IConicTool& TheImpTool) const;
64
65 Standard_EXPORT Standard_Real FindV (const Standard_Real parameter, gp_Pnt2d& point, const IntCurve_IConicTool& TheImpTool, const Standard_Address& ParCurve, const IntRes2d_Domain& TheParCurveDomain, const Standard_Real V0, const Standard_Real V1, const Standard_Real Tolerance) const;
66
67 Standard_EXPORT void And_Domaine_Objet1_Intersections (const IntCurve_IConicTool& TheImpTool, const Standard_Address& TheParCurve, const IntRes2d_Domain& TheImpCurveDomain, const IntRes2d_Domain& TheParCurveDomain, Standard_Integer& NbResultats, TColStd_Array1OfReal& Inter2_And_Domain2, TColStd_Array1OfReal& Inter1, TColStd_Array1OfReal& Resultat1, TColStd_Array1OfReal& Resultat2, const Standard_Real EpsNul) const;
68
69
70
71
72protected:
73
74
75
76
77
78private:
79
80
81
82
83
84};
85
86
87
88
89
90
91
92#endif // _HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter_HeaderFile