0023024: Update headers of OCCT files
[occt.git] / src / BRep / BRep_TFace.lxx
1 // Created on: 1992-08-25
2 // Created by: Modelistation
3 // Copyright (c) 1992-1999 Matra Datavision
4 // Copyright (c) 1999-2012 OPEN CASCADE SAS
5 //
6 // The content of this file is subject to the Open CASCADE Technology Public
7 // License Version 6.5 (the "License"). You may not use the content of this file
8 // except in compliance with the License. Please obtain a copy of the License
9 // at http://www.opencascade.org and read it completely before using this file.
10 //
11 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 //
14 // The Original Code and all software distributed under the License is
15 // distributed on an "AS IS" basis, without warranty of any kind, and the
16 // Initial Developer hereby disclaims all such warranties, including without
17 // limitation, any warranties of merchantability, fitness for a particular
18 // purpose or non-infringement. Please see the License for the specific terms
19 // and conditions governing the rights and limitations under the License.
20
21
22
23 //=======================================================================
24 //function : Surface
25 //purpose  : 
26 //=======================================================================
27
28 inline const Handle(Geom_Surface)&  BRep_TFace::Surface()const 
29 {
30   return mySurface;
31 }
32
33
34 //=======================================================================
35 //function : Triangulation
36 //purpose  : 
37 //=======================================================================
38
39  inline const Handle(Poly_Triangulation)&  BRep_TFace::Triangulation()const 
40 {
41   return myTriangulation;
42 }
43
44
45 //=======================================================================
46 //function : Location
47 //purpose  : 
48 //=======================================================================
49
50  inline const TopLoc_Location&  BRep_TFace::Location()const 
51 {
52   return myLocation;
53 }
54
55
56 //=======================================================================
57 //function : Tolerance
58 //purpose  : 
59 //=======================================================================
60
61  inline Standard_Real  BRep_TFace::Tolerance()const 
62 {
63   return myTolerance;
64 }
65
66
67 //=======================================================================
68 //function : Surface
69 //purpose  : 
70 //=======================================================================
71
72 inline void  BRep_TFace::Surface(const Handle(Geom_Surface)& S)
73 {
74   mySurface = S;
75 }
76
77 //=======================================================================
78 //function : Triangulation
79 //purpose  : 
80 //=======================================================================
81
82 inline void  BRep_TFace::Triangulation(const Handle(Poly_Triangulation)& T)
83 {
84   myTriangulation = T;
85 }
86
87
88 //=======================================================================
89 //function : Location
90 //purpose  : 
91 //=======================================================================
92
93  inline void  BRep_TFace::Location(const TopLoc_Location& L)
94 {
95   myLocation = L;
96 }
97
98
99 //=======================================================================
100 //function : Tolerance
101 //purpose  : 
102 //=======================================================================
103
104  inline void  BRep_TFace::Tolerance(const Standard_Real T)
105 {
106   myTolerance = T;
107 }
108
109
110
111
112 //=======================================================================
113 //function : NaturalRestriction
114 //purpose  : 
115 //=======================================================================
116
117  inline Standard_Boolean  BRep_TFace::NaturalRestriction()const 
118 {
119   return myNaturalRestriction;
120 }
121
122
123 //=======================================================================
124 //function : NaturalRestriction
125 //purpose  : 
126 //=======================================================================
127
128  inline void  BRep_TFace::NaturalRestriction(const Standard_Boolean N)
129 {
130   myNaturalRestriction = N;
131 }
132
133