b311480e |
1 | -- Created on: 1999-03-03 |
2 | -- Created by: Fabrice SERVANT |
3 | -- Copyright (c) 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 | -- Modified by skv - Thu Sep 25 18:04:05 2003 OCC567 |
23 | -- Definition of new pointer to MaillageAffinage |
24 | -- which is used in Intersection class. |
25 | |
26 | package IntPolyh |
27 | |
28 | ---Purpose: This package provides algorithms to compute |
29 | -- starting points for the surface surface |
30 | -- intersection packages. Those starting points are |
31 | -- used if the two surfaces are bi-parametric |
32 | -- surfaces (bezier, nurbs, algorithm surfaces ...) |
33 | -- |
34 | -- This package provides methods |
35 | -- |
36 | -- to compute meshes on the two surfaces. The meshes can |
37 | -- be refined if necessary. It is the major improvement |
38 | -- to the Intf package which gives the same kind of |
39 | -- ressources. |
40 | -- |
41 | -- to intersect the two meshes |
42 | -- |
43 | -- to give approximated starting-points. Those points are |
44 | -- organised in lines, when the points belong to a same |
45 | -- section line, or returned as isolated points when they |
46 | -- can neither define a new line nor be linked to an |
47 | -- existant line. |
48 | -- |
49 | -- A starting-point contains 3d information, parametric |
50 | -- ionformation and quality criterion. (i.e. X,Y,Z, U1,V1, |
51 | -- U2,V2, Incidence). Incidence is a real wich gives an |
52 | -- estimated angle between the two surfaces near the |
53 | -- intersection point. |
54 | -- |
55 | -- |
56 | |
57 | uses |
58 | TCollection, |
59 | TColStd, |
60 | gp, |
61 | Bnd, |
62 | Adaptor3d |
63 | |
64 | is |
d642ddf5 |
65 | imported ArrayOfSectionLines from IntPolyh; |
66 | imported ArrayOfCouples from IntPolyh; |
67 | imported ArrayOfEdges from IntPolyh; |
68 | imported ArrayOfPoints from IntPolyh; |
69 | imported ArrayOfStartPoints from IntPolyh; |
70 | imported ArrayOfTangentZones from IntPolyh; |
71 | imported ArrayOfTriangles from IntPolyh; |
72 | |
7fd59977 |
73 | class Intersection; |
74 | ---Purpose: the main algorithm. Algorythm outputs are -- |
75 | -- lines and points like discribe in the last |
76 | -- paragraph. The Algorythm provides direct acces to |
77 | -- the elements of those lines and points. Other |
78 | -- classes of this package are for internal use and |
79 | -- only concern the algorithmic part. |
80 | |
81 | ------------------------------------------------------------ |
82 | ---- Internal classes and algorithms |
83 | ------------------------------------------------------------ |
84 | class Couple; |
85 | ---Purpose: couple of triangles |
86 | |
7fd59977 |
87 | |
88 | class Point; |
7fd59977 |
89 | class StartPoint; |
7fd59977 |
90 | class SeqOfStartPoints instantiates Sequence from TCollection |
91 | (StartPoint from IntPolyh); |
92 | |
93 | class Edge; |
d642ddf5 |
94 | |
7fd59977 |
95 | |
96 | class Triangle; |
97 | |
7fd59977 |
98 | |
99 | class MaillageAffinage; |
100 | ---Purpose: Provide the algorythms used in the package |
101 | |
102 | class SectionLine; |
103 | |
7fd59977 |
104 | |
105 | -- class TangentZone; For the moment we use the StartPoint Class |
106 | |
7fd59977 |
107 | pointer PMaillageAffinage to MaillageAffinage from IntPolyh; |
d642ddf5 |
108 | |
7fd59977 |
109 | end; |
110 | |
111 | |
112 | |
113 | |
114 | |
115 | |
116 | |
117 | |
118 | |