0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / GeomFill / GeomFill_SectionPlacement.cdl
CommitLineData
b311480e 1-- Created on: 1997-12-15
2-- Created by: Philippe MANGIN
3-- Copyright (c) 1997-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 SectionPlacement from GeomFill
18
19 ---Purpose: To place section in sweep Function
20 ---Level: Advanced
21
22uses
23 LocationLaw from GeomFill,
24 Geometry from Geom,
25 Curve from Geom,
26 HCurve from Adaptor3d,
27 Curve from GeomAdaptor,
28 ExtPC from Extrema,
29 Trsf from gp,
30 Mat from gp,
31 Ax1 from gp,
32 Vec from gp,
33 Pnt from gp
34
35raises
36 NotDone
37
38is
39 Create(L : LocationLaw from GeomFill;
40 Section : Geometry from Geom)
41 returns SectionPlacement from GeomFill;
42
43 SetLocation(me : in out; L : LocationLaw from GeomFill)
44 ---Purpose: To change the section Law
45 is static;
46
47 Perform(me:in out; Tol : Real)
48 is static;
49
50 Perform(me:in out; Path : HCurve from Adaptor3d;
51 Tol : Real)
52 is static;
53
54 Perform(me:in out; ParamOnPath : Real;
55 Tol : Real)
56 is static;
57
58 IsDone(me)
59 returns Boolean;
60
61 ParameterOnPath(me) returns Real;
62
63 ParameterOnSection(me) returns Real;
64
65 Distance(me) returns Real;
66
67 Angle(me) returns Real;
68
69 Transformation(me; WithTranslation : Boolean;
70 WithCorrection : Boolean = Standard_False)
71 returns Trsf from gp;
72
73 Section(me; WithTranslation : Boolean)
74 ---Purpose: Compute the Section, in the coordinate syteme given by
75 -- the Location Law.
76 -- If <WithTranslation> contact beetween
77 -- <Section> and <Path> is forced.
78 returns Curve from Geom;
79
80 ModifiedSection(me; WithTranslation : Boolean)
81 ---Purpose: Compute the Section, in the coordinate syteme given by
82 -- the Location Law.
83 -- To have the Normal to section equal to the Location
84 -- Law Normal. If <WithTranslation> contact beetween
85 -- <Section> and <Path> is forced.
86 returns Curve from Geom;
87
88 SectionAxis(me; M : Mat from gp;
89 T, N, BN : out Vec from gp) is private;
90
91 Choix(me; Dist, Angle : Real)
92 returns Boolean
93 is private;
94
95fields
96 done : Boolean;
97 isplan : Boolean;
98 TheAxe : Ax1 from gp;
99 Gabarit : Real;
100 myLaw : LocationLaw from GeomFill;
101 myAdpSection : Curve from GeomAdaptor;
102 mySection : Curve from Geom;
103 SecParam, PathParam, Dist, AngleMax : Real;
104 myExt : ExtPC from Extrema;
105
106 myIsPoint : Boolean from Standard;
107 myPoint : Pnt from gp;
108
109end ;