mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-19 05:36:19 +08:00
131 lines
5.0 KiB
Plaintext
Executable File
131 lines
5.0 KiB
Plaintext
Executable File
-- Created on: 1996-08-30
|
|
-- Created by: Yves FRICAUD
|
|
-- Copyright (c) 1996-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 Inter3d from BRepOffset
|
|
|
|
---Purpose: Computes the intersection face face in a set of faces
|
|
-- Store the result in a SD as AsDes.
|
|
|
|
uses
|
|
AsDes from BRepAlgo,
|
|
Image from BRepAlgo,
|
|
Analyse from BRepOffset,
|
|
DataMapOfShapeOffset from BRepOffset,
|
|
Shape from TopoDS,
|
|
Face from TopoDS,
|
|
ListOfShape from TopTools,
|
|
--MapOfShape from TopTools,
|
|
IndexedMapOfShape from TopTools,
|
|
DataMapOfShapeShape from TopTools,
|
|
DataMapOfShapeListOfShape from TopTools,
|
|
Real from Standard,
|
|
State from TopAbs
|
|
|
|
is
|
|
Create(AsDes : mutable AsDes from BRepAlgo;
|
|
Side : State from TopAbs;
|
|
Tol : Real from Standard);
|
|
|
|
CompletInt (me : in out; SetOfFaces : ListOfShape from TopTools;
|
|
InitOffsetFace : Image from BRepAlgo )
|
|
is static;
|
|
|
|
FaceInter (me : in out;
|
|
F1, F2 : Face from TopoDS;
|
|
InitOffsetFace : Image from BRepAlgo)
|
|
is static;
|
|
|
|
ConnexIntByArc(me : in out;
|
|
SetOfFaces : ListOfShape from TopTools;
|
|
ShapeInit : Shape from TopoDS;
|
|
Analyse : Analyse from BRepOffset;
|
|
InitOffsetFace : Image from BRepAlgo)
|
|
is static;
|
|
|
|
ConnexIntByInt(me : in out;
|
|
SI : Shape from TopoDS;
|
|
MapSF : DataMapOfShapeOffset from BRepOffset;
|
|
A : Analyse from BRepOffset;
|
|
MES : in out DataMapOfShapeShape from TopTools;
|
|
Build : in out DataMapOfShapeShape from TopTools;
|
|
Failed : in out ListOfShape from TopTools)
|
|
is static;
|
|
|
|
ContextIntByInt( me : in out;
|
|
ContextFaces : IndexedMapOfShape from TopTools;
|
|
ExtentContext : Boolean from Standard;
|
|
MapSF : DataMapOfShapeOffset from BRepOffset;
|
|
A : Analyse from BRepOffset;
|
|
MES : in out DataMapOfShapeShape from TopTools;
|
|
Build : in out DataMapOfShapeShape from TopTools;
|
|
Failed : in out ListOfShape from TopTools)
|
|
is static;
|
|
|
|
ContextIntByArc(me : in out;
|
|
ContextFaces : IndexedMapOfShape from TopTools;
|
|
ExtentContext : Boolean from Standard;
|
|
Analyse : Analyse from BRepOffset;
|
|
InitOffsetFace : Image from BRepAlgo;
|
|
InitOffsetEdge : in out Image from BRepAlgo)
|
|
is static;
|
|
|
|
AddCommonEdges(me : in out;
|
|
SetOfFaces : ListOfShape from TopTools)
|
|
is static;
|
|
|
|
SetDone(me : in out; F1,F2 : Face from TopoDS)
|
|
is static;
|
|
|
|
---Category: Querying
|
|
|
|
IsDone(me ; F1,F2 : Face from TopoDS)
|
|
returns Boolean from Standard
|
|
is static;
|
|
|
|
TouchedFaces(me : in out) returns IndexedMapOfShape from TopTools
|
|
---C++: return &
|
|
is static;
|
|
|
|
AsDes(me) returns AsDes from BRepAlgo
|
|
is static;
|
|
|
|
NewEdges(me : in out) returns IndexedMapOfShape from TopTools
|
|
---C++: return &
|
|
is static;
|
|
|
|
---Category: Private
|
|
|
|
Store(me : in out;F1,F2 : Face from TopoDS;
|
|
LInt1,LInt2 : ListOfShape from TopTools)
|
|
is static private;
|
|
|
|
fields
|
|
|
|
myAsDes : AsDes from BRepAlgo;
|
|
myTouched : IndexedMapOfShape from TopTools;
|
|
myDone : DataMapOfShapeListOfShape from TopTools;
|
|
myNewEdges : IndexedMapOfShape from TopTools;
|
|
mySide : State from TopAbs;
|
|
myTol : Real from Standard;
|
|
|
|
end Inter3d;
|