Integration of OCCT 6.5.0 from SVN
[occt.git] / src / IntCurveSurface / IntCurveSurface_IntersectionSegment.cdl
1 -- File:        IntCurveSurface_IntersectionSegment.cdl
2 -- Created:     Wed Apr  7 16:47:10 1993
3 -- Author:      Laurent BUCHARD
4 --              <lbr@sdsun2>
5 ---Copyright:    Matra Datavision 1993
6
7
8 class IntersectionSegment from IntCurveSurface
9  
10
11     ---Purpose: A IntersectionSegment describes a segment of curve 
12     --          (w1,w2) where distance(C(w),Surface) is less than a  
13     --          given tolerances. 
14     
15     ---Level: Public
16
17 uses
18
19     IntersectionPoint    from IntCurveSurface
20
21 is
22
23     Create
24         returns IntersectionSegment from IntCurveSurface;
25         
26     Create(P1: IntersectionPoint from IntCurveSurface;
27            P2: IntersectionPoint from IntCurveSurface)
28         returns IntersectionSegment from IntCurveSurface;
29         
30     SetValues(me: in out;
31              P1: IntersectionPoint from IntCurveSurface;
32              P2: IntersectionPoint from IntCurveSurface)
33          is static;
34          
35     Values(me;
36           P1: out IntersectionPoint from IntCurveSurface;
37           P2: out IntersectionPoint from IntCurveSurface)
38          is static;
39          
40     FirstPoint(me;
41                P1: out IntersectionPoint from IntCurveSurface)
42          is static;      
43
44     SecondPoint(me;
45                 P2: out IntersectionPoint from IntCurveSurface)
46          is static;
47
48          
49     FirstPoint(me)
50         returns IntersectionPoint from IntCurveSurface 
51         ---C++: return const &
52         is static;       
53
54     SecondPoint(me)
55          returns IntersectionPoint from IntCurveSurface
56          ---C++: return const &
57          is static;
58  
59     Dump(me)
60           is static;
61
62 fields
63
64     myP1 : IntersectionPoint from IntCurveSurface;
65     myP2 : IntersectionPoint from IntCurveSurface;
66  
67 end IntersectionSegment;
68