Warning, /include/opencascade/HLRAlgo_Intersection.lxx is written in an unsupported language. File is not indexed.
0001 // Created on: 1992-02-19
0002 // Created by: Christophe MARION
0003 // Copyright (c) 1992-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
0019 inline void HLRAlgo_Intersection::Orientation(const TopAbs_Orientation Ori)
0020 {
0021 myOrien = Ori;
0022 }
0023
0024 //=================================================================================================
0025
0026 inline TopAbs_Orientation HLRAlgo_Intersection::Orientation() const
0027 {
0028 return myOrien;
0029 }
0030
0031 //=================================================================================================
0032
0033 inline void HLRAlgo_Intersection::Level(const int Lev)
0034 {
0035 myLevel = Lev;
0036 }
0037
0038 //=================================================================================================
0039
0040 inline int HLRAlgo_Intersection::Level() const
0041 {
0042 return myLevel;
0043 }
0044
0045 //=================================================================================================
0046
0047 inline void HLRAlgo_Intersection::SegIndex(const int SegInd)
0048 {
0049 mySegIndex = SegInd;
0050 }
0051
0052 //=================================================================================================
0053
0054 inline int HLRAlgo_Intersection::SegIndex() const
0055 {
0056 return mySegIndex;
0057 }
0058
0059 //=================================================================================================
0060
0061 inline void HLRAlgo_Intersection::Index(const int Ind)
0062 {
0063 myIndex = Ind;
0064 }
0065
0066 //=================================================================================================
0067
0068 inline int HLRAlgo_Intersection::Index() const
0069 {
0070 return myIndex;
0071 }
0072
0073 //=================================================================================================
0074
0075 inline void HLRAlgo_Intersection::Parameter(const double P)
0076 {
0077 myParam = P;
0078 }
0079
0080 //=================================================================================================
0081
0082 inline double HLRAlgo_Intersection::Parameter() const
0083 {
0084 return myParam;
0085 }
0086
0087 //=================================================================================================
0088
0089 inline void HLRAlgo_Intersection::Tolerance(const float T)
0090 {
0091 myToler = T;
0092 }
0093
0094 //=================================================================================================
0095
0096 inline float HLRAlgo_Intersection::Tolerance() const
0097 {
0098 return myToler;
0099 }
0100
0101 //=================================================================================================
0102
0103 inline void HLRAlgo_Intersection::State(const TopAbs_State St)
0104 {
0105 myState = St;
0106 }
0107
0108 //=================================================================================================
0109
0110 inline TopAbs_State HLRAlgo_Intersection::State() const
0111 {
0112 return myState;
0113 }