0029590: Coding - avoid usage of Standard_EXPORT attribute for inline methods
[occt.git] / src / GeomInt / GeomInt_ThePrmPrmSvSurfacesOfWLApprox.hxx
CommitLineData
42cf5bc1 1// Created on: 1995-01-27
2// Created by: Jacques GOUSSARD
3// Copyright (c) 1995-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 _GeomInt_ThePrmPrmSvSurfacesOfWLApprox_HeaderFile
18#define _GeomInt_ThePrmPrmSvSurfacesOfWLApprox_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <gp_Pnt2d.hxx>
25#include <gp_Pnt.hxx>
26#include <gp_Vec2d.hxx>
27#include <gp_Vec.hxx>
28#include <Standard_Boolean.hxx>
29#include <GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox.hxx>
30#include <ApproxInt_SvSurfaces.hxx>
31#include <Standard_Real.hxx>
32class Adaptor3d_HSurface;
33class Adaptor3d_HSurfaceTool;
34class IntPatch_WLine;
35class GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox;
36class GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox;
37class gp_Pnt;
38class gp_Vec;
39class gp_Vec2d;
40
41
42
43class GeomInt_ThePrmPrmSvSurfacesOfWLApprox : public ApproxInt_SvSurfaces
44{
45public:
46
47 DEFINE_STANDARD_ALLOC
48
49
50 Standard_EXPORT GeomInt_ThePrmPrmSvSurfacesOfWLApprox(const Handle(Adaptor3d_HSurface)& Surf1, const Handle(Adaptor3d_HSurface)& Surf2);
51
36b9ff75 52 //! returns True if Tg,Tguv1 Tguv2 can be computed.
2c26a53d 53 Standard_EXPORT Standard_Boolean Compute (Standard_Real& u1, Standard_Real& v1, Standard_Real& u2, Standard_Real& v2,
54 gp_Pnt& Pt, gp_Vec& Tg, gp_Vec2d& Tguv1, gp_Vec2d& Tguv2);
42cf5bc1 55
56 Standard_EXPORT void Pnt (const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Pnt& P);
57
2c26a53d 58 Standard_EXPORT Standard_Boolean SeekPoint(const Standard_Real u1,
59 const Standard_Real v1,
60 const Standard_Real u2,
61 const Standard_Real v2,
62 IntSurf_PntOn2S& Point);
63
42cf5bc1 64 Standard_EXPORT Standard_Boolean Tangency (const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec& Tg);
65
66 Standard_EXPORT Standard_Boolean TangencyOnSurf1 (const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec2d& Tg);
67
68 Standard_EXPORT Standard_Boolean TangencyOnSurf2 (const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec2d& Tg);
69
70
71
72
73protected:
74
75
76
77
78
79private:
80
81
82
83 gp_Pnt2d MyParOnS1;
84 gp_Pnt2d MyParOnS2;
85 gp_Pnt MyPnt;
86 gp_Vec2d MyTguv1;
87 gp_Vec2d MyTguv2;
88 gp_Vec MyTg;
89 Standard_Boolean MyIsTangent;
90 Standard_Boolean MyHasBeenComputed;
91 gp_Pnt2d MyParOnS1bis;
92 gp_Pnt2d MyParOnS2bis;
93 gp_Pnt MyPntbis;
94 gp_Vec2d MyTguv1bis;
95 gp_Vec2d MyTguv2bis;
96 gp_Vec MyTgbis;
97 Standard_Boolean MyIsTangentbis;
98 Standard_Boolean MyHasBeenComputedbis;
99 GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox MyIntersectionOn2S;
100
101
102};
103
104
105
106
107
108
109
110#endif // _GeomInt_ThePrmPrmSvSurfacesOfWLApprox_HeaderFile