0024284: Some trivial warnings produced by ICC 14
[occt.git] / src / IntTools / IntTools_LineConstructor.cdl
1 -- Created on: 1995-02-07
2 -- Created by: Jacques GOUSSARD
3 -- Copyright (c) 1995-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
21
22 class LineConstructor from IntTools
23
24         ---Purpose: Splits given Line.
25
26 uses Line           from IntPatch,
27      TopolTool      from Adaptor3d,
28      HSurface       from GeomAdaptor,
29      SequenceOfReal from TColStd
30
31
32 raises NotDone    from StdFail,
33        OutOfRange from Standard
34
35 is
36
37     Create
38         returns LineConstructor from IntTools;
39         ---C++: inline
40         ---Purpose: 
41         --- Empty constructor
42         ---
43
44     Load(me: in out; D1,D2: TopolTool from Adaptor3d;
45                      S1,S2: HSurface  from GeomAdaptor)
46         is static;
47         ---C++: inline
48         ---Purpose:
49         --- Initializes me by two surfaces and corresponding
50         --- tools which represent boundaries of surfaces
51         ---
52
53     Perform(me: in out; L: Line from IntPatch)
54         is static;
55         ---Purpose:
56         --- Splits line
57         ---
58
59     IsDone(me)
60         returns Boolean from Standard
61         is static;
62         ---C++: inline
63         ---Purpose:
64         --- Returns True if splitting was successful
65         ---
66
67     NbParts(me)
68         returns Integer from Standard
69         raises NotDone from StdFail
70         is static;
71         ---C++: inline
72         ---Purpose:
73         --- Returns number of splits
74         ---
75
76     Part(me; I: Integer from Standard; WFirst,WLast: out Real from Standard) 
77         raises NotDone    from StdFail,
78                OutOfRange from Standard
79         is static;
80         ---C++: inline
81         ---Purpose:
82         --- Return first and last parameters 
83         --- for given index of split
84         ---
85
86     ---PeriodicLine(me; L: Line from IntPatch)
87     --- is protected;
88  
89     TreatCircle(me:out; 
90             aLine : Line from IntPatch; 
91             aTol: Real from Standard)
92         is protected; 
93         
94 fields
95     
96     done  : Boolean        from Standard;
97     seqp  : SequenceOfReal from TColStd;
98     myDom1: TopolTool      from Adaptor3d;
99     myDom2: TopolTool      from Adaptor3d;
100     myHS1 : HSurface       from GeomAdaptor;
101     myHS2 : HSurface       from GeomAdaptor;    
102
103 end LineConstructor;