312d826bc11dd45afbbe44aa45623ed2acde88d4
[occt.git] / src / BRepExtrema / BRepExtrema_Poly.hxx
1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
5 // This library is free software; you can redistribute it and / or modify it
6 // under the terms of the GNU Lesser General Public version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14 #ifndef _BRepExtrema_Poly_HeaderFile
15 #define _BRepExtrema_Poly_HeaderFile
16
17 #ifndef _Standard_HeaderFile
18 #include <Standard.hxx>
19 #endif
20 #ifndef _Standard_Macro_HeaderFile
21 #include <Standard_Macro.hxx>
22 #endif
23
24 #ifndef _Standard_Boolean_HeaderFile
25 #include <Standard_Boolean.hxx>
26 #endif
27 #ifndef _Standard_Real_HeaderFile
28 #include <Standard_Real.hxx>
29 #endif
30 class TopoDS_Shape;
31 class gp_Pnt;
32
33
34 class BRepExtrema_Poly
35 {
36  public:
37
38   //! returns Standard_True if OK. <br>
39   Standard_EXPORT static Standard_Boolean Distance(const TopoDS_Shape& S1,const TopoDS_Shape& S2,gp_Pnt& P1,gp_Pnt& P2,Standard_Real& dist);
40 };
41
42 #endif