Files
OCCT/src/GeomFill/GeomFill_SectionPlacement.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

110 lines
3.4 KiB
Plaintext

-- Created on: 1997-12-15
-- Created by: Philippe MANGIN
-- 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 SectionPlacement from GeomFill
---Purpose: To place section in sweep Function
---Level: Advanced
uses
LocationLaw from GeomFill,
Geometry from Geom,
Curve from Geom,
HCurve from Adaptor3d,
Curve from GeomAdaptor,
ExtPC from Extrema,
Trsf from gp,
Mat from gp,
Ax1 from gp,
Vec from gp,
Pnt from gp
raises
NotDone
is
Create(L : LocationLaw from GeomFill;
Section : Geometry from Geom)
returns SectionPlacement from GeomFill;
SetLocation(me : in out; L : LocationLaw from GeomFill)
---Purpose: To change the section Law
is static;
Perform(me:in out; Tol : Real)
is static;
Perform(me:in out; Path : HCurve from Adaptor3d;
Tol : Real)
is static;
Perform(me:in out; ParamOnPath : Real;
Tol : Real)
is static;
IsDone(me)
returns Boolean;
ParameterOnPath(me) returns Real;
ParameterOnSection(me) returns Real;
Distance(me) returns Real;
Angle(me) returns Real;
Transformation(me; WithTranslation : Boolean;
WithCorrection : Boolean = Standard_False)
returns Trsf from gp;
Section(me; WithTranslation : Boolean)
---Purpose: Compute the Section, in the coordinate syteme given by
-- the Location Law.
-- If <WithTranslation> contact beetween
-- <Section> and <Path> is forced.
returns Curve from Geom;
ModifiedSection(me; WithTranslation : Boolean)
---Purpose: Compute the Section, in the coordinate syteme given by
-- the Location Law.
-- To have the Normal to section equal to the Location
-- Law Normal. If <WithTranslation> contact beetween
-- <Section> and <Path> is forced.
returns Curve from Geom;
SectionAxis(me; M : Mat from gp;
T, N, BN : out Vec from gp) is private;
Choix(me; Dist, Angle : Real)
returns Boolean
is private;
fields
done : Boolean;
isplan : Boolean;
TheAxe : Ax1 from gp;
Gabarit : Real;
myLaw : LocationLaw from GeomFill;
myAdpSection : Curve from GeomAdaptor;
mySection : Curve from Geom;
SecParam, PathParam, Dist, AngleMax : Real;
myExt : ExtPC from Extrema;
myIsPoint : Boolean from Standard;
myPoint : Pnt from gp;
end ;