0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[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-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 //=======================================================================
18 //function : Surface
19 //purpose  : 
20 //=======================================================================
21
22 inline const Handle(Geom_Surface)&  BRep_TFace::Surface()const 
23 {
24   return mySurface;
25 }
26
27
28 //=======================================================================
29 //function : Triangulation
30 //purpose  : 
31 //=======================================================================
32
33  inline const Handle(Poly_Triangulation)&  BRep_TFace::Triangulation()const 
34 {
35   return myTriangulation;
36 }
37
38
39 //=======================================================================
40 //function : Location
41 //purpose  : 
42 //=======================================================================
43
44  inline const TopLoc_Location&  BRep_TFace::Location()const 
45 {
46   return myLocation;
47 }
48
49
50 //=======================================================================
51 //function : Tolerance
52 //purpose  : 
53 //=======================================================================
54
55  inline Standard_Real  BRep_TFace::Tolerance()const 
56 {
57   return myTolerance;
58 }
59
60
61 //=======================================================================
62 //function : Surface
63 //purpose  : 
64 //=======================================================================
65
66 inline void  BRep_TFace::Surface(const Handle(Geom_Surface)& S)
67 {
68   mySurface = S;
69 }
70
71 //=======================================================================
72 //function : Triangulation
73 //purpose  : 
74 //=======================================================================
75
76 inline void  BRep_TFace::Triangulation(const Handle(Poly_Triangulation)& T)
77 {
78   myTriangulation = T;
79 }
80
81
82 //=======================================================================
83 //function : Location
84 //purpose  : 
85 //=======================================================================
86
87  inline void  BRep_TFace::Location(const TopLoc_Location& L)
88 {
89   myLocation = L;
90 }
91
92
93 //=======================================================================
94 //function : Tolerance
95 //purpose  : 
96 //=======================================================================
97
98  inline void  BRep_TFace::Tolerance(const Standard_Real T)
99 {
100   myTolerance = T;
101 }
102
103
104
105
106 //=======================================================================
107 //function : NaturalRestriction
108 //purpose  : 
109 //=======================================================================
110
111  inline Standard_Boolean  BRep_TFace::NaturalRestriction()const 
112 {
113   return myNaturalRestriction;
114 }
115
116
117 //=======================================================================
118 //function : NaturalRestriction
119 //purpose  : 
120 //=======================================================================
121
122  inline void  BRep_TFace::NaturalRestriction(const Standard_Boolean N)
123 {
124   myNaturalRestriction = N;
125 }
126
127