0024761: Convertation of the generic classes to the non-generic. Part 5
[occt.git] / src / HatchGen / HatchGen_PointOnElement.cdl
CommitLineData
b311480e 1-- Created on: 1993-10-29
2-- Created by: Jean Marc LACHAUME
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
17class PointOnElement from HatchGen
18
19
20inherits IntersectionPoint from HatchGen
21
22
23uses
24 IntersectionType from HatchGen ,
25 IntersectionPoint from IntRes2d ,
26 Orientation from TopAbs
27
28
29is
30
31
32 Create
33
34 ---Purpose; Creates an empty point on element
35
36 ---Category: PointOnElement
37
38 returns PointOnElement from HatchGen ;
39
40
41 Create (Point : PointOnElement from HatchGen)
42
43 ---Purpose: Creates a point from an other.
44
45 ---Category: PointOnElement
46
47 returns PointOnElement from HatchGen ;
48
49
50 Create (Point : IntersectionPoint from IntRes2d)
51
52 ---Purpose: Creates a point from an intersection point.
53
54 ---Category: PointOnElement
55
56 returns PointOnElement from HatchGen ;
57
58
59 SetIntersectionType (me : in out ; Type : IntersectionType from HatchGen)
60
61 ---Purpose: Sets the intersection type at this point.
62
63 ---Category: PointOnElement
64 ---C++: inline
65 is static ;
66
67
68 IntersectionType (me)
69
70 ---Purpose: Returns the intersection type at this point.
71
72 ---Category: PointOnElement
73
74 ---C++: inline
75 returns IntersectionType from HatchGen
76 is static ;
77
78
79 IsIdentical (me; Point : PointOnElement from HatchGen ;
80 Confusion : Real from Standard)
81
82 ---Purpose: Tests if the point is identical to an other.
83 -- That is to say :
84 -- P1.myIndex = P2.myIndex
85 -- Abs (P1.myParam - P2.myParam) <= Confusion
86 -- P1.myPosit = P2.myPosit
87 -- P1.myBefore = P2.myBefore
88 -- P1.myAfter = P2.myAfter
89 -- P1.mySegBeg = P2.mySegBeg
90 -- P1.mySegEnd = P2.mySegEnd
91 -- P1.myType = P2.myType
92
93 ---Category: PointOnElement
94
95 returns Boolean from Standard
96 is static ;
97
98
99 IsDifferent (me; Point : PointOnElement from HatchGen ;
100 Confusion : Real from Standard)
101
102
103 ---Purpose: Tests if the point is different from an other.
104
105 ---Category: PointOnElement
106
107 returns Boolean from Standard
108 is static ;
109
110
111 Dump (me; Index : Integer from Standard = 0)
112
113 ---Purpose: Dump of the point on element.
114
115 is static ;
116
117
118fields
119
120 myType : IntersectionType from HatchGen is protected ;
121
122end PointOnElement from HatchGen ;