7fd59977 |
1 | // File: PBRep_PointRepresentation.cxx |
2 | // Created: Wed Aug 11 12:34:19 1993 |
3 | // Author: Remi LEQUETTE |
4 | // <rle@phylox> |
5 | |
6 | |
7 | #include <PBRep_PointRepresentation.ixx> |
8 | |
9 | //======================================================================= |
10 | //function : PBRep_PointRepresentation |
11 | //purpose : |
12 | //======================================================================= |
13 | |
14 | PBRep_PointRepresentation::PBRep_PointRepresentation |
15 | (const Standard_Real P, |
16 | const PTopLoc_Location& L) : |
17 | myLocation(L), |
18 | myParameter(P) |
19 | |
20 | { |
21 | } |
22 | |
23 | |
24 | //======================================================================= |
25 | //function : Location |
26 | //purpose : |
27 | //======================================================================= |
28 | |
29 | PTopLoc_Location PBRep_PointRepresentation::Location()const |
30 | { |
31 | return myLocation; |
32 | } |
33 | |
34 | |
35 | //======================================================================= |
36 | //function : Parameter |
37 | //purpose : |
38 | //======================================================================= |
39 | |
40 | Standard_Real PBRep_PointRepresentation::Parameter()const |
41 | { |
42 | return myParameter; |
43 | } |
44 | |
45 | |
46 | //======================================================================= |
47 | //function : Parameter |
48 | //purpose : |
49 | //======================================================================= |
50 | |
51 | void PBRep_PointRepresentation::Parameter(const Standard_Real P) |
52 | { |
53 | myParameter = P; |
54 | } |
55 | |
56 | |
57 | //======================================================================= |
58 | //function : Next |
59 | //purpose : |
60 | //======================================================================= |
61 | |
62 | Handle(PBRep_PointRepresentation) PBRep_PointRepresentation::Next()const |
63 | { |
64 | return myNext; |
65 | } |
66 | |
67 | |
68 | //======================================================================= |
69 | //function : Next |
70 | //purpose : |
71 | //======================================================================= |
72 | |
73 | void PBRep_PointRepresentation::Next(const Handle(PBRep_PointRepresentation)& N) |
74 | { |
75 | myNext = N; |
76 | } |
77 | |
78 | //======================================================================= |
79 | //function : IsPointOnCurve |
80 | //purpose : |
81 | //======================================================================= |
82 | |
83 | Standard_Boolean PBRep_PointRepresentation::IsPointOnCurve() const |
84 | { |
85 | return Standard_False; |
86 | } |
87 | |
88 | //======================================================================= |
89 | //function : IsPointOnCurveOnSurface |
90 | //purpose : |
91 | //======================================================================= |
92 | |
93 | Standard_Boolean PBRep_PointRepresentation::IsPointOnCurveOnSurface() const |
94 | { |
95 | return Standard_False; |
96 | } |
97 | |
98 | //======================================================================= |
99 | //function : IsPointOnSurface |
100 | //purpose : |
101 | //======================================================================= |
102 | |
103 | Standard_Boolean PBRep_PointRepresentation::IsPointOnSurface() const |
104 | { |
105 | return Standard_False; |
106 | } |