1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +03:00
occt/src/BRepFill/BRepFill_Draft.cdl
bugmaster b311480ed5 0023024: Update headers of OCCT files
Added appropriate copyright and license information in source files
2012-03-21 19:43:04 +04:00

141 lines
4.1 KiB
Plaintext
Executable File

-- Copyright (c) 1999-2012 OPEN CASCADE SAS
--
-- The content of this file is subject to the Open CASCADE Technology Public
-- License Version 6.5 (the "License"). You may not use the content of this file
-- except in compliance with the License. Please obtain a copy of the License
-- at http://www.opencascade.org and read it completely before using this file.
--
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
--
-- The Original Code and all software distributed under the License is
-- distributed on an "AS IS" basis, without warranty of any kind, and the
-- Initial Developer hereby disclaims all such warranties, including without
-- limitation, any warranties of merchantability, fitness for a particular
-- purpose or non-infringement. Please see the License for the specific terms
-- and conditions governing the rights and limitations under the License.
class Draft from BRepFill
uses
LocationDraft from GeomFill,
Dir from gp,
Box from Bnd,
Surface from Geom,
SectionLaw from BRepFill,
DraftLaw from BRepFill,
TransitionStyle from BRepFill,
HCurve from Adaptor3d,
Shape from GeomAbs,
Shape from TopoDS,
Shell from TopoDS,
Face from TopoDS,
Wire from TopoDS,
ListOfShape from TopTools,
HArray2OfShape from TopTools
raises
NotDone
is
Create(Shape : Shape from TopoDS;
Dir : Dir from gp;
Angle : Real)
---Purpose:
returns Draft from BRepFill;
SetOptions(me : in out;
Style : TransitionStyle from BRepFill = BRepFill_Right;
AngleMin : Real = 0.01;
AngleMax : Real = 3.0);
---Purpose:
SetDraft(me: in out; IsInternal : Boolean = Standard_False);
---Purpose:
Perform(me : in out;
LengthMax : Real)
is static;
---Purpose:
Perform(me : in out;
Surface : Surface from Geom;
KeepInsideSurface : Boolean = Standard_True)
is static;
---Purpose:
Perform(me : in out;
StopShape : Shape from TopoDS;
KeepOutSide : Boolean = Standard_True)
is static;
---Purpose:
IsDone(me)
returns Boolean;
Shell(me)
---Purpose: Returns the draft surface
-- To have the complete shape
-- you have to use the Shape() methode.
returns Shell from TopoDS
raises NotDone;
Generated (me: in out; S : Shape from TopoDS)
---Purpose: Returns the list of shapes generated from the
-- shape <S>.
---C++: return const &
---Level: Public
returns ListOfShape from TopTools;
Shape(me)
returns Shape from TopoDS;
-- retourne la shape resultat
Init(me:in out; Surf : Surface from Geom;
Length : Real;
Box : Box from Bnd)
is private;
BuildShell(me:in out; Surf : Surface from Geom;
KeepOutSide : Boolean = Standard_False)
is private;
Fuse(me:in out; S : Shape from TopoDS;
KeepOutSide : Boolean)
returns Boolean is private;
Sewing(me: in out)
returns Boolean is private;
fields
myDir : Dir from gp;
myAngle : Real;
angmin, angmax : Real;
myTol : Real;
myLoc : DraftLaw from BRepFill;
mySec : SectionLaw from BRepFill;
mySections: HArray2OfShape from TopTools;
myFaces : HArray2OfShape from TopTools;
myGenerated : ListOfShape from TopTools;
myShape : Shape from TopoDS;
myTop : Shape from TopoDS;
myShell : Shell from TopoDS;
myWire : Wire from TopoDS;
myCont : Shape from GeomAbs;
myStyle : TransitionStyle from BRepFill;
IsInternal : Boolean;
myDone : Boolean;
end Draft;