b311480e |
1 | -- Created on: 1993-06-17 |
2 | -- Created by: Jean Yves LEBEY |
3 | -- Copyright (c) 1993-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | -- |
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. |
10 | -- |
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. |
13 | -- |
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. |
20 | |
7fd59977 |
21 | |
22 | |
23 | class PointIterator from TopOpeBRepDS |
24 | inherits InterferenceIterator from TopOpeBRepDS |
25 | |
26 | ---Purpose: |
27 | |
28 | uses |
29 | |
30 | State from TopAbs, |
31 | Orientation from TopAbs, |
32 | Interference from TopOpeBRepDS, |
33 | ListOfInterference from TopOpeBRepDS |
34 | |
35 | is |
36 | |
37 | Create(L : ListOfInterference from TopOpeBRepDS) returns PointIterator; |
38 | ---Purpose: Creates an iterator on the points on curves |
39 | -- described by the interferences in <L>. |
40 | |
41 | MatchInterference(me; I : Interference from TopOpeBRepDS) |
42 | returns Boolean from Standard |
43 | ---Purpose: Returns True if the Interference <I> has a |
44 | -- GeometryType() TopOpeBRepDS_POINT or TopOpeBRepDS_VERTEX |
45 | -- returns False else. |
46 | is redefined; |
47 | |
48 | Current(me) returns Integer from Standard |
49 | ---Purpose: Index of the point in the data structure. |
50 | is static; |
51 | |
52 | Orientation(me; S : State from TopAbs) |
53 | returns Orientation from TopAbs |
54 | is static; |
55 | |
56 | Parameter(me) returns Real from Standard |
57 | -- Edge/Point Interference |
58 | -- Curve/Point Interference |
59 | -- Edge/Vertex Interference |
60 | is static; |
61 | |
62 | IsVertex(me) returns Boolean from Standard |
63 | is static; |
64 | |
65 | IsPoint(me) returns Boolean from Standard |
66 | is static; |
67 | |
68 | DiffOriented(me) returns Boolean from Standard |
69 | is static; |
70 | |
71 | SameOriented(me) returns Boolean from Standard |
72 | is static; |
73 | |
74 | Support(me) returns Integer from Standard |
75 | is static; |
76 | |
77 | end PointIterator from TopOpeBRepDS; |