1 // Created on: 1995-03-14
2 // Created by: Jacques GOUSSARD
3 // Copyright (c) 1995-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 //=======================================================================
18 //function : GeomAPI_IntSS
20 //=======================================================================
22 inline GeomAPI_IntSS::GeomAPI_IntSS () {}
25 //=======================================================================
26 //function : GeomAPI_IntSS
28 //=======================================================================
30 inline GeomAPI_IntSS::GeomAPI_IntSS (const Handle(Geom_Surface)& S1,
31 const Handle(Geom_Surface)& S2,
32 const Standard_Real Tol) :
33 myIntersec(S1,S2,Tol,Standard_True)
37 //=======================================================================
40 //=======================================================================
42 inline void GeomAPI_IntSS::Perform(const Handle(Geom_Surface)& S1,
43 const Handle(Geom_Surface)& S2,
44 const Standard_Real Tol)
46 myIntersec.Perform(S1,S2,Tol,Standard_True);
50 //=======================================================================
53 //=======================================================================
55 inline Standard_Boolean GeomAPI_IntSS::IsDone () const
57 return myIntersec.IsDone();
61 //=======================================================================
64 //=======================================================================
66 inline Standard_Integer GeomAPI_IntSS::NbLines () const
68 return myIntersec.NbLines();
72 //=======================================================================
75 //=======================================================================
77 inline const Handle(Geom_Curve)&
78 GeomAPI_IntSS::Line(const Standard_Integer I) const
80 return myIntersec.Line(I);