blob: 3d5f53be4ae09343092281281b220a223a250088 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
-- File: TopTrans.cdl
-- Created: Mon Oct 28 14:59:09 1991
-- Author: Remi LEQUETTE
-- <rle@phobox>
---Copyright: Matra Datavision 1991, 1992
package TopTrans
---Purpose: This package provides algorithms to compute
-- complex transitions. A transition is the status of
-- geometry near the boundary of a Shape. An example
-- is the intersection of a curve and a surface
-- enclosing a solid , the transition tells if the
-- parts of the curve just before and just after the
-- intersection are inside, outside or on the
-- boundary of the solid.
--
-- The difficulty with transitions arise when dealing
-- with trimmed geometries like edges and faces. When
-- the geometric intersections are inside the trimmed
-- geometry the transition is usually computed by the
-- intersection algorithms as the trimming can be
-- safely ignored. If the intersection falls on the
-- trimming boundaries one must consider the
-- neighbouring entities. Consider as an example the
-- intersection of a curve and a solid, if the
-- intersection falls on an edge of the solid it does
-- not falls inside the two faces adjacent to the
-- edge, a complex transition occurs.
--
-- This package provides two classes :
--
-- * CurveTransition is used to compute complex
-- transitions with an other curve.
--
-- * SurfaceTransition is used to compute complex
-- transitions in 3D space.
--
-- The curves and surfaces are given by a first or
-- second order approximation around the intersection
-- point. For a curve, the tangent vector or the
-- osculating circle. For a surface the normal vector
-- or the osculating quadric.
uses
Standard,
TCollection,
TColStd,
gp,
TopAbs
is
class Array2OfOrientation instantiates
Array2 from TCollection (Orientation from TopAbs);
class CurveTransition;
class SurfaceTransition;
end TopTrans;
|