1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-30 12:14:08 +03:00
occt/src/BRepFill/BRepFill_Draft.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.
2014-02-20 16:15:17 +04:00

135 lines
3.7 KiB
Plaintext

-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
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;