Commit | Line | Data |
---|---|---|
973c2be1 | 1 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e | 2 | // |
973c2be1 | 3 | // This file is part of Open CASCADE Technology software library. |
b311480e | 4 | // |
d5f74e42 | 5 | // This library is free software; you can redistribute it and/or modify it under |
6 | // the terms of the GNU Lesser General Public License version 2.1 as published | |
973c2be1 | 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. | |
b311480e | 10 | // |
973c2be1 | 11 | // Alternatively, this file may be used under the terms of Open CASCADE |
12 | // commercial license or contractual agreement. | |
92d1589b A |
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 |