mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
96 lines
3.2 KiB
Plaintext
Executable File
96 lines
3.2 KiB
Plaintext
Executable File
-- Created on: 1994-10-12
|
|
-- Created by: Jean Yves LEBEY
|
|
-- 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 EdgesFiller from TopOpeBRep
|
|
|
|
---Purpose: Fills a TopOpeBRepDS_DataStructure with Edge/Edge
|
|
-- instersection data described by TopOpeBRep_EdgesIntersector.
|
|
|
|
uses
|
|
|
|
Edge from TopoDS,
|
|
Face from TopoDS,
|
|
Shape from TopoDS,
|
|
EdgesIntersector from TopOpeBRep,
|
|
Point2d from TopOpeBRep,
|
|
PEdgesIntersector from TopOpeBRep,
|
|
HDataStructure from TopOpeBRepDS,
|
|
DataStructure from TopOpeBRepDS,
|
|
PDataStructure from TopOpeBRepDS,
|
|
Interference from TopOpeBRepDS,
|
|
ListOfInterference from TopOpeBRepDS,
|
|
ListIteratorOfListOfInterference from TopOpeBRepDS,
|
|
Kind from TopOpeBRepDS,
|
|
Transition from TopOpeBRepDS,
|
|
Config from TopOpeBRepDS
|
|
|
|
is
|
|
|
|
Create returns EdgesFiller;
|
|
|
|
Insert(me:out;E1,E2:Shape;EI:out EdgesIntersector;HDS:HDataStructure);
|
|
|
|
Face(me:out;I:Integer;F:Shape);
|
|
|
|
Face(me;I:Integer) returns Shape;---C++: return const &
|
|
|
|
-- -------
|
|
-- private
|
|
-- -------
|
|
|
|
GetGeometry(me;IT:out ListIteratorOfListOfInterference;
|
|
P:Point2d;G:out Integer;K:out Kind)
|
|
returns Boolean is private;
|
|
|
|
MakeGeometry(me;P:Point2d;G:out Integer;K:out Kind)
|
|
returns Boolean is private;
|
|
|
|
SetShapeTransition(me;P:Point2d;T1,T2:out Transition from TopOpeBRepDS)
|
|
is private;
|
|
|
|
StorePI(me:out;P:Point2d;T:Transition from TopOpeBRepDS;
|
|
EI,PI:Integer;p:Real;IE:Integer)
|
|
returns Interference is private;
|
|
|
|
StoreVI(me:out;P:Point2d;T:Transition from TopOpeBRepDS;
|
|
EI,VI:Integer;VB:Boolean;C:Config;p:Real;IE:Integer)
|
|
returns Interference is private;
|
|
|
|
ToRecompute(me:out;P:Point2d;I:Interference;IEmother:Integer)
|
|
returns Boolean is private;
|
|
|
|
StoreRecompute(me:out;I:Interference;IEmother:Integer) is private;
|
|
RecomputeInterferences(me:out;E:Edge;LOI:out ListOfInterference) is private;
|
|
|
|
fields
|
|
|
|
myE1:Edge from TopoDS;
|
|
myE2:Edge from TopoDS;
|
|
myF1:Face from TopoDS;
|
|
myF2:Face from TopoDS;
|
|
myHDS:HDataStructure from TopOpeBRepDS;
|
|
myPDS:PDataStructure from TopOpeBRepDS;
|
|
myPEI:PEdgesIntersector from TopOpeBRep;
|
|
myLI1:ListOfInterference from TopOpeBRepDS;
|
|
myLI2:ListOfInterference from TopOpeBRepDS;
|
|
|
|
end EdgesFiller from TopOpeBRep;
|