summaryrefslogtreecommitdiff
path: root/inc/GccEnt_QualifiedCurv.gxx
blob: 73d2fcff89dae6cb472cf8e73e59500fb4e281a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//File GccEnt_QualifiedCurv.gxx, REG 19/08/91

TheCurve GccEnt_QualifiedCurv::
   Qualified () const { return TheQualified; }

GccEnt_Position GccEnt_QualifiedCurv::
   Qualifier () const { return TheQualifier; }

Standard_Boolean GccEnt_QualifiedCurv::
   IsUnqualified () const {
     if (TheQualifier == GccEnt_unqualified ) { return Standard_True; }
     else { return Standard_False; }
   }

Standard_Boolean GccEnt_QualifiedCurv::
   IsEnclosing () const {
     if (TheQualifier == GccEnt_enclosing) { return Standard_True; }
     else { return Standard_False; }
   }

Standard_Boolean GccEnt_QualifiedCurv::
   IsEnclosed () const {
     if (TheQualifier == GccEnt_enclosed) { return Standard_True; }
     else { return Standard_False; }
   }

Standard_Boolean GccEnt_QualifiedCurv::
   IsOutside () const {
     if (TheQualifier == GccEnt_outside) { return Standard_True; }
     else { return Standard_False; }
   }

GccEnt_QualifiedCurv::
   GccEnt_QualifiedCurv (const TheCurve&          Curve,
			 const GccEnt_Position Qualifier) {
   TheQualified = Curve;
   TheQualifier = Qualifier;
 }