1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
3 // This file is part of Open CASCADE Technology software library.
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.
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
14 #ifndef _BRepExtrema_Poly_HeaderFile
15 #define _BRepExtrema_Poly_HeaderFile
17 #ifndef _Standard_HeaderFile
18 #include <Standard.hxx>
20 #ifndef _Standard_Macro_HeaderFile
21 #include <Standard_Macro.hxx>
24 #ifndef _Standard_Boolean_HeaderFile
25 #include <Standard_Boolean.hxx>
27 #ifndef _Standard_Real_HeaderFile
28 #include <Standard_Real.hxx>
34 class BRepExtrema_Poly
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);