geom/PARTITION/Partition_Loop3d.cdl

70 lines
2.2 KiB
Plaintext
Raw Normal View History

This commit was generated by cvs2git to create tag 'V1_1_1'. Sprout from master 2003-06-12 10:38:56 UTC prascle <prascle> 'PR: avoids unnecessary compilation after regeneration of SALOMEconfig.h, with gcc3.2' Cherrypick from IMPORT 2003-07-09 07:30:56 UTC nri <nri@opencascade.com> 'sources v1.2': OBJECT/GEOM_AISShape.cxx OBJECT/GEOM_AISShape.hxx OBJECT/GEOM_AISShape.ixx OBJECT/GEOM_AISShape.jxx OBJECT/GEOM_Actor.cxx OBJECT/GEOM_Actor.h OBJECT/GEOM_AssemblyBuilder.cxx OBJECT/GEOM_AssemblyBuilder.h OBJECT/GEOM_InteractiveObject.cxx OBJECT/GEOM_InteractiveObject.hxx OBJECT/GEOM_InteractiveObject.ixx OBJECT/GEOM_InteractiveObject.jxx OBJECT/GEOM_OCCReader.cxx OBJECT/GEOM_OCCReader.h OBJECT/Handle_GEOM_AISShape.hxx OBJECT/Handle_GEOM_InteractiveObject.hxx OBJECT/Makefile.in PARTITION/Makefile.in PARTITION/Partition.cdl PARTITION/Partition_Inter2d.cdl PARTITION/Partition_Inter2d.cxx PARTITION/Partition_Inter2d.hxx PARTITION/Partition_Inter2d.ixx PARTITION/Partition_Inter2d.jxx PARTITION/Partition_Inter3d.cdl PARTITION/Partition_Inter3d.cxx PARTITION/Partition_Inter3d.hxx PARTITION/Partition_Inter3d.ixx PARTITION/Partition_Inter3d.jxx PARTITION/Partition_Loop.cdl PARTITION/Partition_Loop.cxx PARTITION/Partition_Loop.hxx PARTITION/Partition_Loop.ixx PARTITION/Partition_Loop.jxx PARTITION/Partition_Loop2d.cdl PARTITION/Partition_Loop2d.cxx PARTITION/Partition_Loop2d.hxx PARTITION/Partition_Loop2d.ixx PARTITION/Partition_Loop2d.jxx PARTITION/Partition_Loop3d.cdl PARTITION/Partition_Loop3d.cxx PARTITION/Partition_Loop3d.hxx PARTITION/Partition_Loop3d.ixx PARTITION/Partition_Loop3d.jxx PARTITION/Partition_Spliter.cdl PARTITION/Partition_Spliter.cxx PARTITION/Partition_Spliter.hxx PARTITION/Partition_Spliter.ixx PARTITION/Partition_Spliter.jxx SKETCHER/GEOM_Sketcher.cxx SKETCHER/GEOM_Sketcher.h SKETCHER/GEOM_SketcherStatus.h SKETCHER/Makefile.in
2003-07-09 13:30:57 +06:00
-- GEOM PARTITION : partition algorithm
--
-- Copyright (C) 2003 CEA/DEN, EDF R&D
--
--
--
-- File : Partition_Loop3d.cdl
-- Module : GEOM
class Loop3d from Partition
---Purpose: Builds the shells from a set of faces.
-- Provides methods for comparing faces mutual
-- location.
uses
Vec from gp,
MapOfOrientedShape from TopTools,
IndexedDataMapOfShapeListOfShape from TopTools,
Face from TopoDS,
Edge from TopoDS,
ListOfShape from TopTools,
Shape from TopoDS
is
Create;
AddConstFaces (me : in out; S : Shape from TopoDS)
---Purpose: Add faces of <S> as unique faces in the result.
is static;
AddSectionFaces (me : in out; S : Shape from TopoDS)
---Purpose: Add faces of <S> as double faces in the result.
is static;
MakeShells (me : in out; AvoidFacesMap : MapOfOrientedShape from TopTools)
returns ListOfShape from TopTools is static;
---Purpose: Make and return shells.
-- <AvoidFacesMap> can contain faces that must not be
-- added to result shells.
---C++: return const &
---Category: class methods
IsInside (myclass; E : Edge from TopoDS;
F1, F2 : Face from TopoDS;
CountDot : Boolean from Standard;
Dot : in out Real from Standard;
GoodOri : in out Boolean from Standard)
returns Boolean from Standard;
---Purpose: check if <F2> is inside <F1> by edge <E>.
-- if <CountDot>, compute <Dot>: scalar production of
-- normalized vectors pointing inside faces, and
-- check if faces are oriented well for sewing
Normal (myclass; E : Edge from TopoDS;
F : Face from TopoDS) returns Vec from gp;
fields
myNewShells : ListOfShape from TopTools; -- result
myFaces : ListOfShape from TopTools;
myEFMap : IndexedDataMapOfShapeListOfShape from TopTools;
end Loop3d;