b311480e |
1 | -- Created on: 1993-02-05 |
2 | -- Created by: Jacques GOUSSARD |
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 | package Contap |
24 | |
25 | ---Purpose: |
26 | |
27 | uses Standard,StdFail,MMgt, GeomAbs, TopAbs, TCollection, gp, TColgp, |
28 | math, IntSurf, IntStart, IntWalk, |
29 | Geom2d, TColStd, Geom, Adaptor3d, Adaptor2d |
30 | |
31 | is |
32 | |
33 | deferred generic class ArcTool; -- template class |
34 | |
35 | deferred generic class SurfaceTool; -- template class |
36 | |
37 | deferred generic class TopolTool; -- template class |
38 | |
39 | generic class Point; |
40 | |
41 | generic class Line; |
42 | |
43 | generic class SurfFunction; |
44 | |
45 | generic class ArcFunction; |
46 | |
47 | generic class SurfProps; |
48 | |
49 | generic class ContourGen, ThePoint,TheSequenceOfPoint,TheHSequenceOfPoint, |
50 | TheLine, TheSequenceOfLine, |
51 | TheSurfProps, TheSurfFunction, TheArcFunction, |
52 | TheSearch, TheIWalking, TheSearchInside; |
53 | ---TheLineConstructor; |
54 | |
55 | class ContAna; |
56 | |
57 | enumeration TFunction is |
58 | ContourStd, |
59 | ContourPrs, |
60 | DraftStd, |
61 | DraftPrs |
62 | end TFunction; |
63 | |
64 | enumeration IType is -- a replacer dans IntSurf et fusionner avec IntPatch |
65 | -- type of the line of contour |
66 | |
67 | Lin, -- pour conflit avec deferred class Line |
68 | Circle, |
69 | Walking, |
70 | Restriction |
71 | end IType; |
72 | |
73 | generic class HContToolGen; |
74 | |
75 | generic class HCurve2dToolGen; |
76 | |
77 | class HCurve2dTool instantiates |
78 | HCurve2dToolGen from Contap ( |
79 | HCurve2d from Adaptor2d); |
80 | |
81 | class HContTool instantiates |
82 | HContToolGen from Contap ( |
83 | HVertex from Adaptor3d, |
84 | HCurve2d from Adaptor2d, |
85 | HSurface from Adaptor3d, |
86 | HCurve2dTool from Contap, |
87 | HSurfaceTool from Adaptor3d); |
88 | |
89 | class Contour instantiates ContourGen from Contap |
90 | (HVertex from Adaptor3d, |
91 | HCurve2d from Adaptor2d, |
92 | HSurface from Adaptor3d, |
93 | HCurve2dTool from Contap, |
94 | HSurfaceTool from Adaptor3d, |
95 | HContTool from Contap, |
96 | TopolTool from Adaptor3d); |
97 | |
98 | |
99 | end Contap; |