b311480e |
1 | -- Created on: 1991-10-28 |
2 | -- Created by: Remi LEQUETTE |
3 | -- Copyright (c) 1991-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 | |
17 | package TopTrans |
18 | |
19 | ---Purpose: This package provides algorithms to compute |
20 | -- complex transitions. A transition is the status of |
21 | -- geometry near the boundary of a Shape. An example |
22 | -- is the intersection of a curve and a surface |
23 | -- enclosing a solid , the transition tells if the |
24 | -- parts of the curve just before and just after the |
25 | -- intersection are inside, outside or on the |
26 | -- boundary of the solid. |
27 | -- |
28 | -- The difficulty with transitions arise when dealing |
29 | -- with trimmed geometries like edges and faces. When |
30 | -- the geometric intersections are inside the trimmed |
31 | -- geometry the transition is usually computed by the |
32 | -- intersection algorithms as the trimming can be |
33 | -- safely ignored. If the intersection falls on the |
34 | -- trimming boundaries one must consider the |
35 | -- neighbouring entities. Consider as an example the |
36 | -- intersection of a curve and a solid, if the |
37 | -- intersection falls on an edge of the solid it does |
38 | -- not falls inside the two faces adjacent to the |
39 | -- edge, a complex transition occurs. |
40 | -- |
41 | -- This package provides two classes : |
42 | -- |
43 | -- * CurveTransition is used to compute complex |
44 | -- transitions with an other curve. |
45 | -- |
46 | -- * SurfaceTransition is used to compute complex |
47 | -- transitions in 3D space. |
48 | -- |
49 | -- The curves and surfaces are given by a first or |
50 | -- second order approximation around the intersection |
51 | -- point. For a curve, the tangent vector or the |
52 | -- osculating circle. For a surface the normal vector |
53 | -- or the osculating quadric. |
54 | |
55 | uses |
56 | Standard, |
57 | TCollection, |
58 | TColStd, |
59 | gp, |
60 | TopAbs |
61 | |
62 | is |
63 | |
df8d3970 |
64 | imported Array2OfOrientation; |
7fd59977 |
65 | |
66 | class CurveTransition; |
67 | |
68 | class SurfaceTransition; |
69 | |
70 | end TopTrans; |