Warning, /include/opencascade/Intf_Interference.lxx is written in an unsupported language. File is not indexed.
0001 // Created on: 1991-06-24
0002 // Created by: Didier PIFFAULT
0003 // Copyright (c) -1999 Matra Datavision
0004 // Copyright (c) 1991-1999 Matra Datavision
0005 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0006 //
0007 // This file is part of Open CASCADE Technology software library.
0008 //
0009 // This library is free software; you can redistribute it and/or modify it under
0010 // the terms of the GNU Lesser General Public License version 2.1 as published
0011 // by the Free Software Foundation, with special exception defined in the file
0012 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0013 // distribution for complete text of the license and disclaimer of any warranty.
0014 //
0015 // Alternatively, this file may be used under the terms of Open CASCADE
0016 // commercial license or contractual agreement.
0017
0018 //=======================================================================
0019 // Return the number of sections points in an interference.
0020 //=======================================================================
0021
0022 inline Standard_Integer Intf_Interference::NbSectionPoints () const
0023 {
0024 return mySPoins.Length();
0025 }
0026
0027 //=======================================================================
0028 // Give the section point of range Index in the interference.
0029 //=======================================================================
0030
0031 inline const Intf_SectionPoint& Intf_Interference::PntValue (const Standard_Integer Index) const
0032 {
0033 return mySPoins(Index);
0034 }
0035
0036 //=======================================================================
0037 // Return the number of sections lines in an interference.
0038 //=======================================================================
0039
0040 inline Standard_Integer Intf_Interference::NbSectionLines () const
0041 {
0042 return mySLines.Length();
0043 }
0044
0045 //=======================================================================
0046 // Give the section line of range Index in the interference.
0047 //=======================================================================
0048
0049 inline const Intf_SectionLine& Intf_Interference::LineValue (const Standard_Integer Index) const
0050 {
0051 return mySLines(Index);
0052 }
0053
0054 //=======================================================================
0055 // Return the number of sections TangentZones in an interference.
0056 //=======================================================================
0057
0058 inline Standard_Integer Intf_Interference::NbTangentZones () const
0059 {
0060 return myTZones.Length();
0061 }
0062
0063 //=======================================================================
0064 // Give the tangentzone of range Index in the interference.
0065 //=======================================================================
0066
0067 inline const Intf_TangentZone& Intf_Interference::ZoneValue (const Standard_Integer Index) const
0068 {
0069 return myTZones(Index);
0070 }
0071
0072 //=======================================================================
0073 //function : GetTolerance
0074 //purpose :
0075 //=======================================================================
0076
0077 inline Standard_Real Intf_Interference::GetTolerance () const
0078 {
0079 return Tolerance;
0080 }