b311480e |
1 | -- Created on: 1996-07-26 |
2 | -- Created by: Maria PUMBORIOS |
3 | -- Copyright (c) 1996-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 | package FilletSurf |
24 | |
25 | ---Purpose: This package contains the API giving |
26 | -- only geometric informations about fillets |
27 | -- for Toyota Project UV4. |
28 | |
29 | uses |
30 | TopoDS, |
31 | TopTools, |
32 | ChFi3d, |
33 | ChFiDS, |
34 | BRepAdaptor, |
35 | Adaptor3d, |
36 | math, |
37 | Geom, |
38 | Geom2d, |
39 | gp, |
40 | StdFail, |
41 | TopAbs |
42 | is |
43 | |
44 | ---------------------------------------------------------- |
45 | -- enumeration used to describe the status of start and end section |
46 | -- of the fillet |
47 | -- TwoExtremityOnEdge |
48 | -- OneExtremityOnEdge |
49 | -- NoExtremityOnEdge |
50 | ---------------------------------------------------------- |
51 | -- |
52 | -- |
53 | enumeration StatusType is TwoExtremityOnEdge, OneExtremityOnEdge, |
54 | NoExtremityOnEdge |
55 | end StatusType; |
56 | |
57 | ---------------------------------------------------------- |
58 | -- enumeration used to describe the status of the computation of the fillet |
59 | -- IsOk |
60 | -- IsNotOk |
61 | -- IsPartial |
62 | -- |
63 | ---------------------------------------------------------- |
64 | |
65 | enumeration StatusDone is IsOk, IsNotOk,IsPartial |
66 | |
67 | end StatusDone; |
68 | |
69 | ---------------------------------------------------------- |
70 | -- enumeration used to describe the status error |
71 | -- EmptyList |
72 | -- EdgeNotG1 |
73 | -- FacesNotG1 |
74 | -- EdgeNotOnShape |
75 | -- NotSharpEdge |
76 | -- PbFilletCompute |
77 | ---------------------------------------------------------- |
78 | |
79 | enumeration ErrorTypeStatus is EmptyList, EdgeNotG1,FacesNotG1,EdgeNotOnShape, |
80 | NotSharpEdge, PbFilletCompute |
81 | end ErrorTypeStatus ; |
82 | |
83 | |
84 | |
85 | -- this class is the API giving geometric informations about fillets: |
86 | |
87 | class Builder; |
88 | |
89 | |
90 | -- this class is private and is only used by the class Builder: |
91 | |
92 | |
93 | private class InternalBuilder; |
94 | |
95 | |
96 | end FilletSurf; |
97 | |
98 | |
99 | |
100 | |
101 | |
102 | |
103 | |
104 | |
105 | |
106 | |
107 | |
108 | |
109 | |
110 | |
111 | |
112 | |