0022627: Change OCCT memory management defaults
[occt.git] / src / BRep / BRep_TFace.lxx
CommitLineData
7fd59977 1// File: BRep_TFace.lxx
2// Created: Tue Aug 25 15:35:52 1992
3// Author: Modelistation
4// <model@phylox>
5
6
7//=======================================================================
8//function : Surface
9//purpose :
10//=======================================================================
11
12 inline const Handle(Geom_Surface)& BRep_TFace::Surface()const
13{
14 return mySurface;
15}
16
17
18//=======================================================================
19//function : Triangulation
20//purpose :
21//=======================================================================
22
23 inline const Handle(Poly_Triangulation)& BRep_TFace::Triangulation()const
24{
25 return myTriangulation;
26}
27
28
29//=======================================================================
30//function : Location
31//purpose :
32//=======================================================================
33
34 inline const TopLoc_Location& BRep_TFace::Location()const
35{
36 return myLocation;
37}
38
39
40//=======================================================================
41//function : Tolerance
42//purpose :
43//=======================================================================
44
45 inline Standard_Real BRep_TFace::Tolerance()const
46{
47 return myTolerance;
48}
49
50
51//=======================================================================
52//function : Surface
53//purpose :
54//=======================================================================
55
56inline void BRep_TFace::Surface(const Handle(Geom_Surface)& S)
57{
58 mySurface = S;
59}
60
61//=======================================================================
62//function : Triangulation
63//purpose :
64//=======================================================================
65
66inline void BRep_TFace::Triangulation(const Handle(Poly_Triangulation)& T)
67{
68 myTriangulation = T;
69}
70
71
72//=======================================================================
73//function : Location
74//purpose :
75//=======================================================================
76
77 inline void BRep_TFace::Location(const TopLoc_Location& L)
78{
79 myLocation = L;
80}
81
82
83//=======================================================================
84//function : Tolerance
85//purpose :
86//=======================================================================
87
88 inline void BRep_TFace::Tolerance(const Standard_Real T)
89{
90 myTolerance = T;
91}
92
93
94
95
96//=======================================================================
97//function : NaturalRestriction
98//purpose :
99//=======================================================================
100
101 inline Standard_Boolean BRep_TFace::NaturalRestriction()const
102{
103 return myNaturalRestriction;
104}
105
106
107//=======================================================================
108//function : NaturalRestriction
109//purpose :
110//=======================================================================
111
112 inline void BRep_TFace::NaturalRestriction(const Standard_Boolean N)
113{
114 myNaturalRestriction = N;
115}
116
117