Files
OCCT/src/LocOpe/LocOpe_LinearForm.cdl
T
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

127 lines
3.5 KiB
Plaintext

-- Created on: 1997-04-14
-- Created by: Olga PILLOT
-- Copyright (c) 1997-1999 Matra Datavision
-- 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 LinearForm from LocOpe
---Purpose: Defines a linear form (using Prism from BRepSweep)
-- with modifications provided for the LinearForm feature.
uses DataMapOfShapeListOfShape from TopTools,
Edge from TopoDS,
Prism from BRepSweep,
Shape from TopoDS,
Face from TopoDS,
SequenceOfCurve from TColGeom,
ListOfShape from TopTools,
Curve from Geom,
Vec from gp,
Dir from gp,
Plane from Geom,
Pnt from gp
raises NoSuchObject from Standard,
NotDone from StdFail
is
Create
returns LinearForm from LocOpe;
---C++: inline
Create (Base : Shape from TopoDS;
V : Vec from gp;
Pnt1 : Pnt from gp;
Pnt2 : Pnt from gp)
---C++: inline
returns LinearForm from LocOpe;
Create (Base : Shape from TopoDS;
V : Vec from gp;
Vectra: Vec from gp;
Pnt1 : Pnt from gp;
Pnt2 : Pnt from gp)
---C++: inline
returns LinearForm from LocOpe;
Perform(me: in out; Base : Shape from TopoDS;
V : Vec from gp;
Pnt1 : Pnt from gp;
Pnt2 : Pnt from gp)
is static;
Perform(me: in out; Base : Shape from TopoDS;
V : Vec from gp;
Vectra: Vec from gp;
Pnt1 : Pnt from gp;
Pnt2 : Pnt from gp)
is static;
FirstShape(me)
returns Shape from TopoDS
---C++: return const &
is static;
LastShape(me)
returns Shape from TopoDS
---C++: return const &
is static;
Shape(me)
returns Shape from TopoDS
raises NotDone from StdFail
---C++: return const &
is static;
Shapes(me; S: Shape from TopoDS)
returns ListOfShape from TopTools
---C++: return const &
raises NoSuchObject from Standard
-- The exception is raised if S is not a subshape of the profile
is static;
IntPerf(me: in out)
is static private;
fields
myBase : Shape from TopoDS;
myVec : Vec from gp;
myTra : Vec from gp;
myDone : Boolean from Standard;
myIsTrans : Boolean from Standard;
myRes : Shape from TopoDS;
myFirstShape : Shape from TopoDS;
myLastShape : Shape from TopoDS;
myMap : DataMapOfShapeListOfShape from TopTools;
myPnt1 : Pnt from gp;
myPnt2 : Pnt from gp;
end LinearForm;