Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/opencascade/GeomAPI_IntSS.lxx is written in an unsupported language. File is not indexed.

0001 // Created on: 1995-03-14
0002 // Created by: Jacques GOUSSARD
0003 // Copyright (c) 1995-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 //=======================================================================
0018 //function : GeomAPI_IntSS
0019 //purpose  : 
0020 //=======================================================================
0021 
0022 inline GeomAPI_IntSS::GeomAPI_IntSS () {}
0023 
0024 
0025 //=======================================================================
0026 //function : GeomAPI_IntSS
0027 //purpose  : 
0028 //=======================================================================
0029 
0030 inline GeomAPI_IntSS::GeomAPI_IntSS (const Handle(Geom_Surface)& S1,
0031                                      const Handle(Geom_Surface)& S2,
0032                                      const Standard_Real Tol) :
0033         myIntersec(S1,S2,Tol,Standard_True)
0034 {}
0035 
0036 
0037 //=======================================================================
0038 //function : Perform
0039 //purpose  : 
0040 //=======================================================================
0041 
0042 inline void GeomAPI_IntSS::Perform(const Handle(Geom_Surface)& S1,
0043                                    const Handle(Geom_Surface)& S2,
0044                                    const Standard_Real Tol)
0045 {
0046   myIntersec.Perform(S1,S2,Tol,Standard_True);
0047 }
0048 
0049 
0050 //=======================================================================
0051 //function : IsDone
0052 //purpose  : 
0053 //=======================================================================
0054 
0055 inline Standard_Boolean GeomAPI_IntSS::IsDone () const
0056 {
0057   return myIntersec.IsDone();
0058 }
0059 
0060 
0061 //=======================================================================
0062 //function : NbLines
0063 //purpose  : 
0064 //=======================================================================
0065 
0066 inline Standard_Integer GeomAPI_IntSS::NbLines () const
0067 {
0068   return myIntersec.NbLines();
0069 }
0070 
0071 
0072 //=======================================================================
0073 //function : Line
0074 //purpose  : 
0075 //=======================================================================
0076 
0077 inline const Handle(Geom_Curve)& 
0078         GeomAPI_IntSS::Line(const Standard_Integer I) const
0079 {
0080   return myIntersec.Line(I);
0081 }