mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
114 lines
3.7 KiB
Plaintext
Executable File
114 lines
3.7 KiB
Plaintext
Executable File
-- Created on: 1994-10-07
|
|
-- Created by: Yves FRICAUD
|
|
-- Copyright (c) 1994-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
|
|
--
|
|
-- The content of this file is subject to the Open CASCADE Technology Public
|
|
-- License Version 6.5 (the "License"). You may not use the content of this file
|
|
-- except in compliance with the License. Please obtain a copy of the License
|
|
-- at http://www.opencascade.org and read it completely before using this file.
|
|
--
|
|
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
|
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
|
--
|
|
-- The Original Code and all software distributed under the License is
|
|
-- distributed on an "AS IS" basis, without warranty of any kind, and the
|
|
-- Initial Developer hereby disclaims all such warranties, including without
|
|
-- limitation, any warranties of merchantability, fitness for a particular
|
|
-- purpose or non-infringement. Please see the License for the specific terms
|
|
-- and conditions governing the rights and limitations under the License.
|
|
|
|
|
|
|
|
|
|
class LinkTopoBilo from BRepMAT2d
|
|
|
|
---Purpose:Constucts links between the Face of the explorer and
|
|
-- the BasicElts contained in the bisecting locus.
|
|
|
|
uses
|
|
Shape from TopoDS,
|
|
Wire from TopoDS,
|
|
Explorer from BRepMAT2d,
|
|
DataMapOfShapeSequenceOfBasicElt from BRepMAT2d,
|
|
DataMapOfBasicEltShape from BRepMAT2d,
|
|
BisectingLocus from BRepMAT2d,
|
|
BasicElt from MAT
|
|
|
|
raises
|
|
ConstructionError from Standard
|
|
|
|
is
|
|
|
|
Create returns LinkTopoBilo from BRepMAT2d;
|
|
|
|
Create( Explo : Explorer from BRepMAT2d;
|
|
BiLo : BisectingLocus from BRepMAT2d)
|
|
returns LinkTopoBilo from BRepMAT2d
|
|
---Purpose: Constructs the links Between S and BiLo.
|
|
--
|
|
raises
|
|
ConstructionError from Standard;
|
|
---Purpose: raises if <S> is not a face.
|
|
|
|
|
|
Perform( me : in out;
|
|
Explo : Explorer from BRepMAT2d;
|
|
BiLo : BisectingLocus from BRepMAT2d)
|
|
---Purpose: Constructs the links Between S and BiLo.
|
|
--
|
|
raises
|
|
ConstructionError from Standard
|
|
---Purpose: raises if <S> is not a face or a wire.
|
|
is static;
|
|
|
|
|
|
Init (me : in out; S : Shape from TopoDS)
|
|
---Purpose: Initialise the Iterator on <S>
|
|
-- <S> is an edge or a vertex of the initial
|
|
-- wire or face.
|
|
raises
|
|
ConstructionError from Standard
|
|
---Purpose: raises if <S> is not an edge or a vertex.
|
|
is static;
|
|
|
|
|
|
More (me : in out) returns Boolean from Standard
|
|
---Purpose: Returns True if there is a current BasicElt.
|
|
is static;
|
|
|
|
|
|
Next (me : in out)
|
|
---Purpose: Proceed to the next BasicElt.
|
|
is static;
|
|
|
|
|
|
Value(me) returns BasicElt from MAT
|
|
---Purpose: Returns the current BasicElt.
|
|
is static;
|
|
|
|
GeneratingShape (me ; aBE : BasicElt from MAT)
|
|
---Purpose: Returns the Shape linked to <aBE>.
|
|
returns Shape from TopoDS
|
|
is static;
|
|
|
|
LinkToWire (me : in out;
|
|
W : Wire from TopoDS;
|
|
Explo : Explorer from BRepMAT2d;
|
|
IndexContour : Integer from Standard;
|
|
BiLo : BisectingLocus from BRepMAT2d)
|
|
is static private;
|
|
|
|
|
|
fields
|
|
myMap : DataMapOfShapeSequenceOfBasicElt from BRepMAT2d;
|
|
myBEShape : DataMapOfBasicEltShape from BRepMAT2d;
|
|
myKey : Shape from TopoDS;
|
|
current : Integer from Standard;
|
|
isEmpty : Boolean from Standard;
|
|
|
|
end ;
|
|
|
|
|
|
|