mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-11 13:22:23 +08: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.
71 lines
2.5 KiB
Plaintext
71 lines
2.5 KiB
Plaintext
-- Created on: 1993-02-25
|
|
-- Created by: Jean Yves LEBEY
|
|
-- 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 BlockBuilder from TopOpeBRepBuild
|
|
|
|
uses
|
|
|
|
Shape from TopoDS, -- Face,Edge
|
|
ShapeSet from TopOpeBRepBuild,
|
|
IndexedMapOfOrientedShape from TopTools,
|
|
BlockIterator from TopOpeBRepBuild,
|
|
SequenceOfInteger from TColStd,
|
|
DataMapOfIntegerInteger from TColStd
|
|
|
|
is
|
|
|
|
Create returns BlockBuilder;
|
|
|
|
-- creation of the blocks buildable from a ShapeSet
|
|
Create(SS : in out ShapeSet) returns BlockBuilder;
|
|
MakeBlock(me : in out; SS : in out ShapeSet) is static;
|
|
|
|
-- Iteration on blocks made by MakeBlock
|
|
InitBlock(me : in out) is static;
|
|
MoreBlock(me) returns Boolean from Standard is static;
|
|
NextBlock(me : in out) is static;
|
|
|
|
-- Iteration on shapes of current block
|
|
BlockIterator(me) returns BlockIterator is static;
|
|
|
|
Element(me; BI : BlockIterator) returns Shape from TopoDS is static;
|
|
---Purpose: Returns the current element of <BI>.
|
|
---C++: return const &
|
|
Element(me; I : Integer) returns Shape from TopoDS is static;
|
|
---C++: return const &
|
|
Element(me; S : Shape from TopoDS) returns Integer;
|
|
|
|
ElementIsValid(me; BI : BlockIterator) returns Boolean;
|
|
ElementIsValid(me; I : Integer) returns Boolean;
|
|
|
|
AddElement(me : in out; S : Shape from TopoDS) returns Integer;
|
|
|
|
SetValid(me : in out; BI : BlockIterator; isvalid : Boolean);
|
|
SetValid(me : in out; I : Integer; isvalid : Boolean);
|
|
|
|
CurrentBlockIsRegular(me : in out) returns Boolean from Standard;
|
|
|
|
fields
|
|
|
|
myOrientedShapeMapIsValid : DataMapOfIntegerInteger from TColStd;
|
|
myOrientedShapeMap : IndexedMapOfOrientedShape from TopTools;
|
|
myBlocks : SequenceOfInteger from TColStd;
|
|
myBlockIndex : Integer from Standard;
|
|
myIsDone : Boolean from Standard;
|
|
myBlocksIsRegular : SequenceOfInteger from TColStd;
|
|
|
|
end BlockBuilder from TopOpeBRepBuild;
|