0024624: Lost word in license statement in source files
[occt.git] / src / BRepPrimAPI / BRepPrimAPI_MakeWedge.cdl
CommitLineData
b311480e 1-- Created on: 1993-07-22
2-- Created by: Remi LEQUETTE
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 MakeWedge from BRepPrimAPI inherits MakeShape from BRepBuilderAPI
18
19 ---Purpose: Describes functions to build wedges, i.e. boxes with inclined faces.
20 -- A MakeWedge object provides a framework for:
21 -- - defining the construction of a wedge,
22 -- - implementing the construction algorithm, and
23 -- - consulting the result.
24
25uses
26 Ax2 from gp,
27 Pnt from gp,
28 Shell from TopoDS,
29 Solid from TopoDS,
30 Wedge from BRepPrim
31
32
33raises
34 DomainError from Standard,
35 NotDone from StdFail
36
37
38is
39
40
41 Create( dx, dy, dz, ltx : Real)
42 returns MakeWedge from BRepPrimAPI
43 ---Purpose: Make a STEP right angular wedge. (ltx >= 0)
44 ---Level: Public
45 raises
46 DomainError from Standard; -- if dx,dy,dz <= Precision::Confusion()
47
48
49 Create(Axes : Ax2 from gp; dx, dy, dz, ltx : Real)
50 returns MakeWedge from BRepPrimAPI
51 ---Purpose: Make a STEP right angular wedge. (ltx >= 0)
52 ---Level: Public
53 raises
54 DomainError from Standard; -- if dx,dy,dz <= Precision::Confusion()
55
56
57 Create(dx,dy,dz,xmin,zmin,xmax,zmax : Real)
58
59 returns MakeWedge from BRepPrimAPI
60 ---Purpose: Make a wedge. The face at dy is xmin,zmin xmax,zmax
61 ---Level: Public
62 raises
63 DomainError from Standard; -- if dx,dy,dz <= Precision::Confusion()
64
65 Create(Axes : Ax2 from gp; dx,dy,dz,xmin,zmin,xmax,zmax : Real)
66 returns MakeWedge from BRepPrimAPI
67 ---Purpose: Make a wedge. The face at dy is xmin,zmin xmax,zmax
68 ---Level: Public
69 raises
70 DomainError from Standard; -- if dx,dy,dz <= Precision::Confusion()
71
72
73 ----------------------------------------
74 -- Auxiliary methods
75 ----------------------------------------
76
77 Wedge(me : in out) returns Wedge from BRepPrim
78 ---Purpose: Returns the internal algorithm.
79 --
80 ---C++: return &
81 ---Level: Public
82 is static;
83
84
85 ----------------------------------------
86 -- Results
87 ----------------------------------------
88
89 Build(me : in out)
90 ---Purpose: Stores the solid in myShape.
91 ---Level: Public
92 is redefined;
93
94 Shell(me : in out) returns Shell from TopoDS
95 ---C++: return const &
96 ---C++: alias "Standard_EXPORT operator TopoDS_Shell();"
97 ---Purpose: Returns the constructed box in the form of a shell.
98 is static;
99
100 Solid(me : in out) returns Solid from TopoDS
101 ---C++: return const &
102 ---C++: alias "Standard_EXPORT operator TopoDS_Solid();"
103 ---Purpose: Returns the constructed box in the form of a solid.
104 is static;
105
106fields
107
108 myWedge : Wedge from BRepPrim;
109
110end MakeWedge;