b311480e |
1 | -- Created on: 1993-11-17 |
2 | -- Created by: Isabelle GRIGNON |
3 | -- Copyright (c) 1993-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
8 | -- This library is free software; you can redistribute it and/or modify it under |
9 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | package ChFiDS |
18 | |
19 | ---Purpose: |
20 | |
21 | uses BRepAdaptor,GeomAdaptor,Geom,Geom2d,TopExp,TopoDS,TopAbs,TopTools,Law, |
22 | Adaptor3d,GCPnts,MMgt,TColgp,gp,GeomAbs,TColStd,TCollection,Standard |
23 | |
24 | is |
25 | |
26 | |
27 | enumeration State from ChFiDS is OnSame, OnDiff, AllSame, BreakPoint, |
28 | FreeBoundary, Closed, Tangent |
29 | end State from ChFiDS; |
30 | ---Purpose: This enum describe the different kinds of extremities |
31 | -- of a fillet. OnSame, Ondiff and AllSame are |
32 | -- particular cases of BreakPoint for a corner with 3 |
33 | -- edges and three faces : |
34 | -- - AllSame means that the three concavities are on the |
35 | -- same side of the Shape, |
36 | -- - OnDiff means that the edge of the fillet has a |
37 | -- concave side different than the two other edges, |
38 | -- - OnSame means that the edge of the fillet has a |
39 | -- concave side different than one of the two other edges |
40 | -- and identical to the third edge. |
41 | |
42 | enumeration ChamfMethod from ChFiDS is |
43 | Sym, |
44 | TwoDist, |
45 | DistAngle |
46 | end ChamfMethod from ChFiDS; |
47 | |
48 | enumeration ErrorStatus from ChFiDS is Ok,Error,WalkingFailure, |
49 | StartsolFailure, TwistedSurface |
50 | end ErrorStatus from ChFiDS; |
51 | --- Purpose statuts concernant la cause de l'erreur |
52 | |
53 | |
54 | class Regul; |
55 | ---Purpose: Grouping of indices of a curve and of faces/surfaces |
56 | -- that it relies on coding of regularities. |
57 | |
58 | class Regularities instantiates List from TCollection |
59 | (Regul from ChFiDS); |
60 | |
61 | class CircSection; |
62 | |
63 | class StripeArray1 instantiates Array1 from TCollection |
64 | (Stripe from ChFiDS); |
65 | |
66 | class SecArray1 instantiates Array1 from TCollection |
67 | (CircSection from ChFiDS); |
68 | |
69 | class SecHArray1 instantiates HArray1 from TCollection |
70 | (CircSection from ChFiDS,SecArray1 from ChFiDS); |
71 | |
72 | class Map; |
73 | ---Purpose: encapsulation of IndexedDataMapOfShapeListOfShape |
74 | |
75 | |
76 | class CommonPoint; |
77 | ---Purpose: point start/end of fillet common to 2 adjacent filets |
78 | -- and to an edge on one of 2 faces participating |
79 | -- in the construction of the fillet |
80 | |
81 | class FaceInterference; |
82 | ---Purpose: interference face/fillet |
83 | |
84 | class SurfData; |
85 | ---Purpose: data structure for all information related to the |
86 | -- fillet and to 2 faces vis a vis |
87 | |
88 | class SequenceOfSurfData instantiates Sequence from TCollection |
89 | (SurfData from ChFiDS); |
90 | |
91 | class HData instantiates HSequence from TCollection |
92 | (SurfData from ChFiDS, |
93 | SequenceOfSurfData from ChFiDS); |
94 | |
95 | class Stripe; |
96 | ---Purpose: Data caracterising a band of fillet. |
97 | |
98 | class ListOfStripe instantiates List from TCollection |
99 | (Stripe from ChFiDS); |
100 | |
101 | class IndexedDataMapOfVertexListOfStripe instantiates |
102 | IndexedDataMap from TCollection ( Vertex from TopoDS, |
103 | ListOfStripe from ChFiDS, |
104 | ShapeMapHasher from TopTools); |
105 | |
106 | class StripeMap; |
107 | ---Purpose: encapsulation of IndexedDataMapOfVertexListOfStripe |
108 | |
109 | class ElSpine; |
110 | ---Purpose: Spin elementary calculated approximation d un |
111 | -- troncon de spine. |
112 | |
113 | class HElSpine instantiates GenHCurve from Adaptor3d (ElSpine from ChFiDS); |
114 | |
115 | class ListOfHElSpine instantiates List from TCollection |
116 | (HElSpine from ChFiDS); |
117 | |
118 | class Spine; |
119 | ---Purpose: list of edges allowing the construction of fillet |
120 | -- or chamfer. Such edges are mutually tangent |
121 | -- and cross tangent faces. |
122 | |
123 | |
124 | class FilSpine; --- inherits Sp |
125 | ---Purpose: Contains more information relative to the vector. |
126 | |
127 | |
128 | class ChamfSpine; --- inherits Sp |
129 | ---Purpose: Contains characteristics of the chamfer. |
130 | -- pour tous les chanfreins |
131 | |
132 | class SequenceOfSpine instantiates |
133 | Sequence from TCollection(Spine from ChFiDS); |
134 | |
135 | |
136 | |
137 | end ChFiDS; |
138 | |