1 -- Created on: 1993-10-29
2 -- Created by: Jean Marc LACHAUME
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
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.
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.
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.
22 deferred class IntersectionPoint from HatchGen
25 Orientation from TopAbs ,
27 IntersectionPoint from IntRes2d
34 ---Purpose: Creates an empty intersection point.
36 ---Category: IntersectionPoint
41 SetIndex (me : in out ; Index : Integer from Standard)
43 ---Purpose: Sets the index of the supporting curve.
45 ---Category: IntersectionPoint
52 ---Purpose: Returns the index of the supporting curve.
54 ---Category: IntersectionPoint
56 returns Integer from Standard
60 SetParameter (me : in out ; Parameter : Real from Standard)
62 ---Purpose: Sets the parameter on the curve.
64 ---Category: IntersectionPoint
71 ---Purpose: Returns the parameter on the curve.
73 ---Category: IntersectionPoint
75 returns Real from Standard
79 SetPosition (me : in out ; Position : Orientation from TopAbs)
81 ---Purpose: Sets the position of the point on the curve.
83 ---Category: IntersectionPoint
90 ---Purpose: Returns the position of the point on the curve.
92 ---Category: IntersectionPoint
94 returns Orientation from TopAbs
98 SetStateBefore (me : in out ; State : State from TopAbs)
100 ---Purpose: Sets the transition state before the intersection.
102 ---Category: IntersectionPoint
109 ---Purpose: Returns the transition state before the intersection.
111 ---Category: IntersectionPoint
113 returns State from TopAbs
117 SetStateAfter (me : in out ; State : State from TopAbs)
119 ---Purpose: Sets the transition state after the intersection.
121 ---Category: IntersectionPoint
128 ---Purpose: Returns the transition state after of the intersection.
130 ---Category: IntersectionPoint
132 returns State from TopAbs
136 SetSegmentBeginning (me : in out ; State : Boolean from Standard = Standard_True)
138 ---Purpose: Sets the flag that the point is the beginning of a segment.
140 ---Category: IntersectionPoint
145 SegmentBeginning (me)
147 ---Purpose: Returns the flag that the point is the beginning of a segment.
149 ---Category: IntersectionPoint
151 returns Boolean from Standard
155 SetSegmentEnd (me : in out ; State : Boolean from Standard = Standard_True)
157 ---Purpose: Sets the flag that the point is the end of a segment.
159 ---Category: IntersectionPoint
166 ---Purpose: Returns the flag that the point is the end of a segment.
168 ---Category: IntersectionPoint
170 returns Boolean from Standard
174 Dump (me; Index : Integer from Standard = 0)
176 ---Purpose: Dump of the point on element.
183 myIndex : Integer from Standard is protected ;
184 myParam : Real from Standard is protected ;
185 myPosit : Orientation from TopAbs is protected ;
186 myBefore : State from TopAbs is protected ;
187 myAfter : State from TopAbs is protected ;
188 mySegBeg : Boolean from Standard is protected ;
189 mySegEnd : Boolean from Standard is protected ;
191 end IntersectionPoint from HatchGen ;