mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
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.
78 lines
2.1 KiB
Plaintext
78 lines
2.1 KiB
Plaintext
-- Created on: 1993-06-02
|
|
-- Created by: Laurent BOURESCHE
|
|
-- Copyright (c) 1993-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 NumShapeIterator from Sweep
|
|
|
|
---Purpose: This class provides iteration services required by
|
|
-- the Swept Primitives for a Directing NumShape
|
|
-- Line.
|
|
--
|
|
|
|
uses
|
|
|
|
NumShape from Sweep,
|
|
Orientation from TopAbs
|
|
|
|
raises
|
|
|
|
NoMoreObject from Standard,
|
|
NoSuchObject from Standard
|
|
|
|
is
|
|
|
|
Create returns NumShapeIterator from Sweep;
|
|
|
|
Init(me : in out; aShape: NumShape from Sweep)
|
|
---Purpose: Resest the NumShapeIterator on sub-shapes of <aShape>.
|
|
is static;
|
|
|
|
More(me) returns Boolean
|
|
---Purpose: Returns True if there is a current sub-shape.
|
|
--
|
|
---C++: inline
|
|
is static;
|
|
|
|
Next(me : in out)
|
|
---Purpose: Moves to the next sub-shape.
|
|
raises
|
|
NoMoreObject from Standard
|
|
is static;
|
|
|
|
Value(me) returns NumShape from Sweep
|
|
---Purpose: Returns the current sub-shape.
|
|
raises
|
|
NoSuchObject from Standard
|
|
---C++: return const &
|
|
---C++: inline
|
|
is static;
|
|
|
|
Orientation(me) returns Orientation from TopAbs
|
|
---Purpose: Returns the orientation of the current sub-shape.
|
|
raises
|
|
NoSuchObject from Standard
|
|
---C++: inline
|
|
is static;
|
|
|
|
fields
|
|
|
|
myNumShape : NumShape from Sweep;
|
|
myCurrentNumShape : NumShape from Sweep;
|
|
myCurrentRange : Integer from Standard;
|
|
myMore : Boolean from Standard;
|
|
myCurrentOrientation : Orientation from TopAbs;
|
|
|
|
end NumShapeIterator;
|