0023024: Update headers of OCCT files
[occt.git] / src / TopCnx / TopCnx_EdgeFaceTransition.cdl
CommitLineData
b311480e 1-- Created on: 1992-08-11
2-- Created by: Remi LEQUETTE
3-- Copyright (c) 1992-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
24
25class EdgeFaceTransition from TopCnx
26
27 ---Purpose: TheEdgeFaceTransition is an algorithm to compute
28 -- the cumulated transition for interferences on an
29 -- edge.
30
31uses
32
33 Boolean from Standard,
34 Real from Standard,
35 Integer from Standard,
36
37 Pnt from gp,
38 Dir from gp,
39
40 State from TopAbs,
41 Orientation from TopAbs,
42
43 CurveTransition from TopTrans
44
45is
46 Create returns EdgeFaceTransition from TopCnx;
47 ---Purpose: Creates an empty algorithm.
48
49 Reset( me : in out;
50 Tgt : Dir from gp; -- Tangent at this point
51 Norm : Dir from gp; -- Normal vector at this point
52 Curv : Real from Standard) -- Curvature at this point
53 ---Purpose: Initialize the algorithm with the local
54 -- description of the edge.
55 is static;
56
57 Reset( me : in out;
58 Tgt : in Dir from gp) -- Tangent at this point
59 ---Purpose: Initialize the algorithm with a linear Edge.
60 is static;
61
62 AddInterference(me : in out;
63 Tole : Real from Standard; -- Cosine tolerance
64 Tang : Dir from gp; -- Tangent on curve for this point
65 Norm : Dir from gp; -- Normal vector at this point
66 Curv : Real from Standard; -- Curvature at this point
67 Or : Orientation from TopAbs; -- Orientation on the curve
68 Tr : Orientation from TopAbs; -- Transition
69 BTr : Orientation from TopAbs) -- Boundary transition
70 ---Purpose: Add a curve element to the boundary. Or is the
71 -- orientation of the interference on the boundary
72 -- curve. Tr is the transition of the interference.
73 -- BTr is the boundary transition of the
74 -- interference.
75 is static;
76
77 Transition(me) returns Orientation from TopAbs
78 ---Purpose: Returns the current cumulated transition.
79 is static;
80
81 BoundaryTransition(me) returns Orientation from TopAbs
82 ---Purpose: Returns the current cumulated BoundaryTransition.
83 is static;
84
85fields
86 myCurveTransition : CurveTransition from TopTrans;
87 nbBoundForward : Integer from Standard;
88 nbBoundReversed : Integer from Standard;
89
90end EdgeFaceTransition;