1 // Created on: 1991-06-24
2 // Created by: Didier PIFFAULT
3 // Copyright (c) -1999 Matra Datavision
4 // Copyright (c) 1991-1999 Matra Datavision
5 // Copyright (c) 1999-2014 OPEN CASCADE SAS
7 // This file is part of Open CASCADE Technology software library.
9 // This library is free software; you can redistribute it and/or modify it under
10 // the terms of the GNU Lesser General Public License version 2.1 as published
11 // by the Free Software Foundation, with special exception defined in the file
12 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
13 // distribution for complete text of the license and disclaimer of any warranty.
15 // Alternatively, this file may be used under the terms of Open CASCADE
16 // commercial license or contractual agreement.
18 //=======================================================================
19 // Return the number of sections points in an interference.
20 //=======================================================================
22 inline Standard_Integer Intf_Interference::NbSectionPoints () const
24 return mySPoins.Length();
27 //=======================================================================
28 // Give the section point of range Index in the interference.
29 //=======================================================================
31 inline const Intf_SectionPoint& Intf_Interference::PntValue (const Standard_Integer Index) const
33 return mySPoins(Index);
36 //=======================================================================
37 // Return the number of sections lines in an interference.
38 //=======================================================================
40 inline Standard_Integer Intf_Interference::NbSectionLines () const
42 return mySLines.Length();
45 //=======================================================================
46 // Give the section line of range Index in the interference.
47 //=======================================================================
49 inline const Intf_SectionLine& Intf_Interference::LineValue (const Standard_Integer Index) const
51 return mySLines(Index);
54 //=======================================================================
55 // Return the number of sections TangentZones in an interference.
56 //=======================================================================
58 inline Standard_Integer Intf_Interference::NbTangentZones () const
60 return myTZones.Length();
63 //=======================================================================
64 // Give the tangentzone of range Index in the interference.
65 //=======================================================================
67 inline const Intf_TangentZone& Intf_Interference::ZoneValue (const Standard_Integer Index) const
69 return myTZones(Index);
72 //=======================================================================
73 //function : GetTolerance
75 //=======================================================================
77 inline Standard_Real Intf_Interference::GetTolerance () const