1 -- Created on: 2000-11-21
2 -- Created by: Peter KURNEV
3 -- Copyright (c) 2000-2012 OPEN CASCADE SAS
5 -- The content of this file is subject to the Open CASCADE Technology Public
6 -- License Version 6.5 (the "License"). You may not use the content of this file
7 -- except in compliance with the License. Please obtain a copy of the License
8 -- at http://www.opencascade.org and read it completely before using this file.
10 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 -- The Original Code and all software distributed under the License is
14 -- distributed on an "AS IS" basis, without warranty of any kind, and the
15 -- Initial Developer hereby disclaims all such warranties, including without
16 -- limitation, any warranties of merchantability, fitness for a particular
17 -- purpose or non-infringement. Please see the License for the specific terms
18 -- and conditions governing the rights and limitations under the License.
22 class SSInterference from BOPTools
23 inherits ShapeShapeInterference from BOPTools
25 ---Purpose: class for storing a Face/Face interference
26 --- Each F/F interference contains information about
27 --- 1. myPBs - PaveBlocks (made from edges from the faces
28 --- that are IN-2D or ON-2D;
29 --- 2. myCurves- Sequence of curves of intersection;
30 --- 3. myTangentFacesFlag - The BOOL flag indicates that
31 --- the faces are SD in terms of the F/F Intersector.
32 --- 4. mySenseFlag - value that is equal +1 or -1 depending
33 --- on scalar product between normals to each face. This
34 --- valie is valid for the SDF only.
35 --- 5. myAlonePnts - contains 3D-points that are place
36 --- of intersection between the two faces
37 --- 6. myAloneVertices - contains indices of vertices
38 --- that correspond to the points myAlonePnts;
43 PaveBlock from BOPTools,
44 PaveSet from BOPTools,
45 ListOfPaveBlock from BOPTools,
46 SequenceOfCurves from BOPTools,
47 IndexedDataMapOfIntegerState from BOPTools,
49 SequenceOfCurves from IntTools,
50 SequenceOfPntOn2Faces from IntTools,
52 ListOfInteger from TColStd
56 returns SSInterference from BOPTools;
60 Create (anIndex1: Integer from Standard;
61 anIndex2: Integer from Standard;
62 aTolR3D : Real from Standard;
63 aTolR2D : Real from Standard;
64 aCurves : SequenceOfCurves from IntTools;
65 aPnts : SequenceOfPntOn2Faces from IntTools)
66 returns SSInterference from BOPTools;
70 --- anIndex2 see BOPTools_ShapeShapeInterference for details
71 --- aTolR3D - value of tolerance to reach in 3D-space
72 --- aTolR2D - value of tolerance to reach in 2D-space
73 --- aCurves see IntTools_Curve for details, please
76 aPB:PaveBlock from BOPTools);
81 returns ListOfPaveBlock from BOPTools;
82 ---C++: return const &
87 returns PaveSet from BOPTools;
93 returns Real from Standard;
98 returns Real from Standard;
103 returns SequenceOfCurves from BOPTools;
108 SetTangentFacesFlag(me:out;
109 aFlag:Boolean from Standard);
114 returns Boolean from Standard;
118 SetSenseFlag (me:out;
119 aFlag:Integer from Standard);
124 returns Integer from Standard;
129 aStatesMap: IndexedDataMapOfIntegerState from BOPTools);
134 returns IndexedDataMapOfIntegerState from BOPTools;
135 ---C++: return const &
140 aPnts:SequenceOfPntOn2Faces from IntTools);
145 returns SequenceOfPntOn2Faces from IntTools;
146 ---C++: return const &
150 AloneVertices(me:out)
151 returns ListOfInteger from TColStd;
156 --modified by NIZNHY-PKV Fri Jun 30 10:05:36 2006f
157 SetSharedEdges(me:out;
158 aLS:ListOfInteger from TColStd);
163 returns ListOfInteger from TColStd;
164 ---C++: return const &
168 --modified by NIZNHY-PKV Fri Jun 30 10:05:41 2006t
172 myPBs : ListOfPaveBlock from BOPTools is protected;
173 myNewPaveSet : PaveSet from BOPTools is protected;
174 myTolR3D : Real from Standard is protected;
175 myTolR2D : Real from Standard is protected;
177 myCurves : SequenceOfCurves from BOPTools is protected;
178 myAlonePnts : SequenceOfPntOn2Faces from IntTools is protected;
179 myAloneVertices : ListOfInteger from TColStd is protected;
181 myTangentFacesFlag : Boolean from Standard is protected;
182 mySenseFlag : Integer from Standard is protected;
183 myStatesMap : IndexedDataMapOfIntegerState from BOPTools is protected;
184 --modified by NIZNHY-PKV Fri Jun 30 10:02:27 2006f
185 mySharedEdges : ListOfInteger from TColStd is protected;
186 --modified by NIZNHY-PKV Fri Jun 30 10:02:34 2006