Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
TopOpeBRepBuild_Builder Class Reference

The Builder algorithm constructs topological objects from an existing topology and new geometries attached to the topology. It is used to construct the result of a topological operation; the existing topologies are the parts involved in the topological operation and the new geometries are the intersection lines and points. More...

#include <TopOpeBRepBuild_Builder.hxx>

Inheritance diagram for TopOpeBRepBuild_Builder:
Inheritance graph
[legend]

Public Member Functions

 TopOpeBRepBuild_Builder (const TopOpeBRepDS_BuildTool &BT)
 
virtual ~TopOpeBRepBuild_Builder ()
 
TopOpeBRepDS_BuildToolChangeBuildTool ()
 
const TopOpeBRepDS_BuildToolBuildTool () const
 
virtual void Perform (const occ::handle< TopOpeBRepDS_HDataStructure > &HDS)
 Stores the data structure <HDS>, Create shapes from the new geometries.
 
virtual void Perform (const occ::handle< TopOpeBRepDS_HDataStructure > &HDS, const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Stores the data structure <HDS>, Create shapes from the new geometries, Evaluates if an operation performed on shapes S1,S2 is a particular case.
 
occ::handle< TopOpeBRepDS_HDataStructureDataStructure () const
 returns the DS handled by this builder
 
virtual void Clear ()
 Removes all splits and merges already performed. Does NOT clear the handled DS.
 
void MergeEdges (const NCollection_List< TopoDS_Shape > &L1, const TopAbs_State TB1, const NCollection_List< TopoDS_Shape > &L2, const TopAbs_State TB2, const bool onA=false, const bool onB=false, const bool onAB=false)
 Merges the two edges <S1> and <S2> keeping the parts in each edge of states <TB1> and <TB2>. Booleans onA, onB, onAB indicate whether parts of edges found as state ON respectively on first, second, and both shapes must be (or not) built.
 
void MergeFaces (const NCollection_List< TopoDS_Shape > &S1, const TopAbs_State TB1, const NCollection_List< TopoDS_Shape > &S2, const TopAbs_State TB2, const bool onA=false, const bool onB=false, const bool onAB=false)
 Merges the two faces <S1> and <S2> keeping the parts in each face of states <TB1> and <TB2>.
 
void MergeSolids (const TopoDS_Shape &S1, const TopAbs_State TB1, const TopoDS_Shape &S2, const TopAbs_State TB2)
 Merges the two solids <S1> and <S2> keeping the parts in each solid of states <TB1> and <TB2>.
 
void MergeShapes (const TopoDS_Shape &S1, const TopAbs_State TB1, const TopoDS_Shape &S2, const TopAbs_State TB2)
 Merges the two shapes <S1> and <S2> keeping the parts of states <TB1>,<TB2> in <S1>,<S2>.
 
void End ()
 
bool Classify () const
 
void ChangeClassify (const bool B)
 
void MergeSolid (const TopoDS_Shape &S, const TopAbs_State TB)
 Merges the solid keeping the parts of state <TB>.
 
const TopoDS_ShapeNewVertex (const int I) const
 Returns the vertex created on point .
 
const NCollection_List< TopoDS_Shape > & NewEdges (const int I) const
 Returns the edges created on curve .
 
const NCollection_List< TopoDS_Shape > & NewFaces (const int I) const
 Returns the faces created on surface .
 
bool IsSplit (const TopoDS_Shape &S, const TopAbs_State TB) const
 Returns True if the shape has been split.
 
const NCollection_List< TopoDS_Shape > & Splits (const TopoDS_Shape &S, const TopAbs_State TB) const
 Returns the split parts <TB> of shape .
 
bool IsMerged (const TopoDS_Shape &S, const TopAbs_State TB) const
 Returns True if the shape has been merged.
 
const NCollection_List< TopoDS_Shape > & Merged (const TopoDS_Shape &S, const TopAbs_State TB) const
 Returns the merged parts <TB> of shape .
 
void InitSection ()
 
void SplitSectionEdges ()
 create parts ON solid of section edges
 
virtual void SplitSectionEdge (const TopoDS_Shape &E)
 create parts ON solid of section edges
 
void SectionCurves (NCollection_List< TopoDS_Shape > &L)
 return the section edges built on new curves.
 
void SectionEdges (NCollection_List< TopoDS_Shape > &L)
 return the parts of edges found ON the boundary of the two arguments S1,S2 of Perform()
 
void FillSecEdgeAncestorMap (const int aShapeRank, const NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHasher > &aMapON, NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &anAncMap) const
 Fills anAncMap with pairs (edge,ancestor edge) for each split from the map aMapON for the shape object identified by ShapeRank.
 
void Section (NCollection_List< TopoDS_Shape > &L)
 return all section edges.
 
const NCollection_List< TopoDS_Shape > & Section ()
 
void BuildVertices (const occ::handle< TopOpeBRepDS_HDataStructure > &DS)
 update the DS by creating new geometries. create vertices on DS points.
 
void BuildEdges (const occ::handle< TopOpeBRepDS_HDataStructure > &DS)
 update the DS by creating new geometries. create shapes from the new geometries.
 
const NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHasher > & MSplit (const TopAbs_State s) const
 
NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHasher > & ChangeMSplit (const TopAbs_State s)
 
void MakeEdges (const TopoDS_Shape &E, TopOpeBRepBuild_EdgeBuilder &B, NCollection_List< TopoDS_Shape > &L)
 
void MakeFaces (const TopoDS_Shape &F, TopOpeBRepBuild_FaceBuilder &B, NCollection_List< TopoDS_Shape > &L)
 
void MakeSolids (TopOpeBRepBuild_SolidBuilder &B, NCollection_List< TopoDS_Shape > &L)
 
void MakeShells (TopOpeBRepBuild_SolidBuilder &B, NCollection_List< TopoDS_Shape > &L)
 
NCollection_List< TopoDS_Shape > & ChangeSplit (const TopoDS_Shape &S, const TopAbs_State TB)
 Returns a ref.on the list of shapes connected to as <TB> split parts of . Mark as split in <TB> parts.
 
bool Opec12 () const
 
bool Opec21 () const
 
bool Opecom () const
 
bool Opefus () const
 
TopAbs_State ShapePosition (const TopoDS_Shape &S, const NCollection_List< TopoDS_Shape > &LS)
 
bool KeepShape (const TopoDS_Shape &S, const NCollection_List< TopoDS_Shape > &LS, const TopAbs_State T)
 
void FindSameDomain (NCollection_List< TopoDS_Shape > &L1, NCollection_List< TopoDS_Shape > &L2) const
 
void FindSameDomainSameOrientation (NCollection_List< TopoDS_Shape > &LSO, NCollection_List< TopoDS_Shape > &LDO) const
 
void MapShapes (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 
void ClearMaps ()
 
void FindSameRank (const NCollection_List< TopoDS_Shape > &L1, const int R, NCollection_List< TopoDS_Shape > &L2) const
 
int ShapeRank (const TopoDS_Shape &S) const
 
bool IsShapeOf (const TopoDS_Shape &S, const int I12) const
 
int FindIsKPart ()
 
int IsKPart () const
 
virtual void MergeKPart ()
 
virtual void MergeKPart (const TopAbs_State TB1, const TopAbs_State TB2)
 
void MergeKPartiskole ()
 
void MergeKPartiskoletge ()
 
void MergeKPartisdisj ()
 
void MergeKPartisfafa ()
 
void MergeKPartissoso ()
 
int KPiskole ()
 
int KPiskoletge ()
 
int KPisdisj ()
 
int KPisfafa ()
 
int KPissoso ()
 
void KPClearMaps ()
 
int KPlhg (const TopoDS_Shape &S, const TopAbs_ShapeEnum T, NCollection_List< TopoDS_Shape > &L) const
 
int KPlhg (const TopoDS_Shape &S, const TopAbs_ShapeEnum T) const
 
int KPlhsd (const TopoDS_Shape &S, const TopAbs_ShapeEnum T, NCollection_List< TopoDS_Shape > &L) const
 
int KPlhsd (const TopoDS_Shape &S, const TopAbs_ShapeEnum T) const
 
TopAbs_State KPclasSS (const TopoDS_Shape &S1, const NCollection_List< TopoDS_Shape > &exceptLS1, const TopoDS_Shape &S2)
 
TopAbs_State KPclasSS (const TopoDS_Shape &S1, const TopoDS_Shape &exceptS1, const TopoDS_Shape &S2)
 
TopAbs_State KPclasSS (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 
bool KPiskolesh (const TopoDS_Shape &S, NCollection_List< TopoDS_Shape > &LS, NCollection_List< TopoDS_Shape > &LF) const
 
bool KPiskoletgesh (const TopoDS_Shape &S, NCollection_List< TopoDS_Shape > &LS, NCollection_List< TopoDS_Shape > &LF) const
 
void KPSameDomain (NCollection_List< TopoDS_Shape > &L1, NCollection_List< TopoDS_Shape > &L2) const
 
int KPisdisjsh (const TopoDS_Shape &S) const
 
int KPisfafash (const TopoDS_Shape &S) const
 
int KPissososh (const TopoDS_Shape &S) const
 
void KPiskoleanalyse (const TopAbs_State FT1, const TopAbs_State FT2, const TopAbs_State ST1, const TopAbs_State ST2, int &I, int &I1, int &I2) const
 
void KPiskoletgeanalyse (const TopOpeBRepDS_Config Conf, const TopAbs_State ST1, const TopAbs_State ST2, int &I) const
 
void KPisdisjanalyse (const TopAbs_State ST1, const TopAbs_State ST2, int &I, int &IC1, int &IC2) const
 
TopAbs_State KPclassF (const TopoDS_Shape &F1, const TopoDS_Shape &F2)
 
void KPclassFF (const TopoDS_Shape &F1, const TopoDS_Shape &F2, TopAbs_State &T1, TopAbs_State &T2)
 
bool KPiskoleFF (const TopoDS_Shape &F1, const TopoDS_Shape &F2, TopAbs_State &T1, TopAbs_State &T2)
 
TopoDS_Shape KPmakeface (const TopoDS_Shape &F1, const NCollection_List< TopoDS_Shape > &LF2, const TopAbs_State T1, const TopAbs_State T2, const bool R1, const bool R2)
 
void SplitEvisoONperiodicF ()
 
void GMergeSolids (const NCollection_List< TopoDS_Shape > &LSO1, const NCollection_List< TopoDS_Shape > &LSO2, const TopOpeBRepBuild_GTopo &G)
 
void GFillSolidsSFS (const NCollection_List< TopoDS_Shape > &LSO1, const NCollection_List< TopoDS_Shape > &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
 
virtual void GFillSolidSFS (const TopoDS_Shape &SO1, const NCollection_List< TopoDS_Shape > &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
 
void GFillSurfaceTopologySFS (const TopoDS_Shape &SO1, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
 
void GFillSurfaceTopologySFS (const TopOpeBRepDS_SurfaceIterator &IT, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS) const
 
virtual void GFillShellSFS (const TopoDS_Shape &SH1, const NCollection_List< TopoDS_Shape > &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
 
void GFillFaceSFS (const TopoDS_Shape &F1, const NCollection_List< TopoDS_Shape > &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
 
void GSplitFaceSFS (const TopoDS_Shape &F1, const NCollection_List< TopoDS_Shape > &LSclass, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
 
void GMergeFaceSFS (const TopoDS_Shape &F, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
 
void GSplitFace (const TopoDS_Shape &F, const TopOpeBRepBuild_GTopo &G, const NCollection_List< TopoDS_Shape > &LSclass)
 
void AddONPatchesSFS (const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
 
void FillOnPatches (const NCollection_List< TopoDS_Shape > &anEdgesON, const TopoDS_Shape &aBaseFace, const NCollection_IndexedMap< TopoDS_Shape > &avoidMap)
 
void FindFacesTouchingEdge (const TopoDS_Shape &aFace, const TopoDS_Shape &anEdge, const int aShRank, NCollection_List< TopoDS_Shape > &aFaces) const
 
void GMergeFaces (const NCollection_List< TopoDS_Shape > &LF1, const NCollection_List< TopoDS_Shape > &LF2, const TopOpeBRepBuild_GTopo &G)
 
void GFillFacesWES (const NCollection_List< TopoDS_Shape > &LF1, const NCollection_List< TopoDS_Shape > &LF2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
 
void GFillFacesWESK (const NCollection_List< TopoDS_Shape > &LF1, const NCollection_List< TopoDS_Shape > &LF2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES, const int K)
 
void GFillFacesWESMakeFaces (const NCollection_List< TopoDS_Shape > &LF1, const NCollection_List< TopoDS_Shape > &LF2, const NCollection_List< TopoDS_Shape > &LSO, const TopOpeBRepBuild_GTopo &G)
 
void GFillFaceWES (const TopoDS_Shape &F, const NCollection_List< TopoDS_Shape > &LF2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
 
void GFillCurveTopologyWES (const TopoDS_Shape &F, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
 
void GFillCurveTopologyWES (const TopOpeBRepDS_CurveIterator &IT, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES) const
 
void GFillONPartsWES (const TopoDS_Shape &F, const TopOpeBRepBuild_GTopo &G, const NCollection_List< TopoDS_Shape > &LSclass, TopOpeBRepBuild_WireEdgeSet &WES)
 
void GFillWireWES (const TopoDS_Shape &W, const NCollection_List< TopoDS_Shape > &LF2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
 
void GFillEdgeWES (const TopoDS_Shape &E, const NCollection_List< TopoDS_Shape > &LF2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
 
void GSplitEdgeWES (const TopoDS_Shape &E, const NCollection_List< TopoDS_Shape > &LF2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
 
void GMergeEdgeWES (const TopoDS_Shape &E, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
 
void GSplitEdge (const TopoDS_Shape &E, const TopOpeBRepBuild_GTopo &G, const NCollection_List< TopoDS_Shape > &LSclass)
 
void GMergeEdges (const NCollection_List< TopoDS_Shape > &LE1, const NCollection_List< TopoDS_Shape > &LE2, const TopOpeBRepBuild_GTopo &G)
 
void GFillEdgesPVS (const NCollection_List< TopoDS_Shape > &LE1, const NCollection_List< TopoDS_Shape > &LE2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_PaveSet &PVS)
 
void GFillEdgePVS (const TopoDS_Shape &E, const NCollection_List< TopoDS_Shape > &LE2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_PaveSet &PVS)
 
void GFillPointTopologyPVS (const TopoDS_Shape &E, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_PaveSet &PVS)
 
void GFillPointTopologyPVS (const TopoDS_Shape &E, const TopOpeBRepDS_PointIterator &IT, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_PaveSet &PVS) const
 
bool GParamOnReference (const TopoDS_Vertex &V, const TopoDS_Edge &E, double &P) const
 
bool GKeepShape (const TopoDS_Shape &S, const NCollection_List< TopoDS_Shape > &Lref, const TopAbs_State T)
 
bool GKeepShape1 (const TopoDS_Shape &S, const NCollection_List< TopoDS_Shape > &Lref, const TopAbs_State T, TopAbs_State &pos)
 return True if S is classified <T> / Lref shapes
 
void GKeepShapes (const TopoDS_Shape &S, const NCollection_List< TopoDS_Shape > &Lref, const TopAbs_State T, const NCollection_List< TopoDS_Shape > &Lin, NCollection_List< TopoDS_Shape > &Lou)
 add to Lou the shapes of Lin classified <T> / Lref shapes. Lou is not cleared. (S is a dummy trace argument)
 
void GSFSMakeSolids (const TopoDS_Shape &SOF, TopOpeBRepBuild_ShellFaceSet &SFS, NCollection_List< TopoDS_Shape > &LOSO)
 
void GSOBUMakeSolids (const TopoDS_Shape &SOF, TopOpeBRepBuild_SolidBuilder &SOBU, NCollection_List< TopoDS_Shape > &LOSO)
 
virtual void GWESMakeFaces (const TopoDS_Shape &FF, TopOpeBRepBuild_WireEdgeSet &WES, NCollection_List< TopoDS_Shape > &LOF)
 
void GFABUMakeFaces (const TopoDS_Shape &FF, TopOpeBRepBuild_FaceBuilder &FABU, NCollection_List< TopoDS_Shape > &LOF, NCollection_DataMap< TopoDS_Shape, int, TopTools_ShapeMapHasher > &MWisOld)
 
void RegularizeFaces (const TopoDS_Shape &FF, const NCollection_List< TopoDS_Shape > &lnewFace, NCollection_List< TopoDS_Shape > &LOF)
 
void RegularizeFace (const TopoDS_Shape &FF, const TopoDS_Shape &newFace, NCollection_List< TopoDS_Shape > &LOF)
 
void RegularizeSolids (const TopoDS_Shape &SS, const NCollection_List< TopoDS_Shape > &lnewSolid, NCollection_List< TopoDS_Shape > &LOS)
 
void RegularizeSolid (const TopoDS_Shape &SS, const TopoDS_Shape &newSolid, NCollection_List< TopoDS_Shape > &LOS)
 
void GPVSMakeEdges (const TopoDS_Shape &EF, TopOpeBRepBuild_PaveSet &PVS, NCollection_List< TopoDS_Shape > &LOE) const
 
void GEDBUMakeEdges (const TopoDS_Shape &EF, TopOpeBRepBuild_EdgeBuilder &EDBU, NCollection_List< TopoDS_Shape > &LOE) const
 
bool GToSplit (const TopoDS_Shape &S, const TopAbs_State TB) const
 
bool GToMerge (const TopoDS_Shape &S) const
 
void GFindSamDom (const TopoDS_Shape &S, NCollection_List< TopoDS_Shape > &L1, NCollection_List< TopoDS_Shape > &L2) const
 
void GFindSamDom (NCollection_List< TopoDS_Shape > &L1, NCollection_List< TopoDS_Shape > &L2) const
 
void GFindSamDomSODO (const TopoDS_Shape &S, NCollection_List< TopoDS_Shape > &LSO, NCollection_List< TopoDS_Shape > &LDO) const
 
void GFindSamDomSODO (NCollection_List< TopoDS_Shape > &LSO, NCollection_List< TopoDS_Shape > &LDO) const
 
void GMapShapes (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 
void GClearMaps ()
 
void GFindSameRank (const NCollection_List< TopoDS_Shape > &L1, const int R, NCollection_List< TopoDS_Shape > &L2) const
 
int GShapeRank (const TopoDS_Shape &S) const
 
bool GIsShapeOf (const TopoDS_Shape &S, const int I12) const
 
void GdumpLS (const NCollection_List< TopoDS_Shape > &L) const
 
void GdumpSHA (const TopoDS_Shape &S, void *const str=nullptr) const
 
void GdumpSHAORI (const TopoDS_Shape &S, void *const str=nullptr) const
 
void GdumpSHAORIGEO (const TopoDS_Shape &S, void *const str=nullptr) const
 
void GdumpSHASTA (const int iS, const TopAbs_State T, const TCollection_AsciiString &a="", const TCollection_AsciiString &b="") const
 
void GdumpSHASTA (const TopoDS_Shape &S, const TopAbs_State T, const TCollection_AsciiString &a="", const TCollection_AsciiString &b="") const
 
void GdumpSHASTA (const int iS, const TopAbs_State T, const TopOpeBRepBuild_ShapeSet &SS, const TCollection_AsciiString &a="", const TCollection_AsciiString &b="", const TCollection_AsciiString &c="\n") const
 
void GdumpEDG (const TopoDS_Shape &S, void *const str=nullptr) const
 
void GdumpEDGVER (const TopoDS_Shape &E, const TopoDS_Shape &V, void *const str=nullptr) const
 
void GdumpSAMDOM (const NCollection_List< TopoDS_Shape > &L, void *const str=nullptr) const
 
void GdumpEXP (const TopOpeBRepTool_ShapeExplorer &E) const
 
void GdumpSOBU (TopOpeBRepBuild_SolidBuilder &SB) const
 
void GdumpFABU (TopOpeBRepBuild_FaceBuilder &FB) const
 
void GdumpEDBU (TopOpeBRepBuild_EdgeBuilder &EB) const
 
bool GtraceSPS (const int iS) const
 
bool GtraceSPS (const int iS, const int jS) const
 
bool GtraceSPS (const TopoDS_Shape &S) const
 
bool GtraceSPS (const TopoDS_Shape &S, int &IS) const
 
void GdumpSHASETreset ()
 
int GdumpSHASETindex ()
 

Static Public Member Functions

static TopAbs_ShapeEnum TopType (const TopoDS_Shape &S)
 
static bool Reverse (const TopAbs_State T1, const TopAbs_State T2)
 
static TopAbs_Orientation Orient (const TopAbs_Orientation O, const bool R)
 
static bool Contains (const TopoDS_Shape &S, const NCollection_List< TopoDS_Shape > &L)
 
static int KPls (const TopoDS_Shape &S, const TopAbs_ShapeEnum T, NCollection_List< TopoDS_Shape > &L)
 
static int KPls (const TopoDS_Shape &S, const TopAbs_ShapeEnum T)
 
static bool KPContains (const TopoDS_Shape &S, const NCollection_List< TopoDS_Shape > &L)
 
static int KPreturn (const int KP)
 
static bool GTakeCommonOfSame (const TopOpeBRepBuild_GTopo &G)
 
static bool GTakeCommonOfDiff (const TopOpeBRepBuild_GTopo &G)
 
static bool GContains (const TopoDS_Shape &S, const NCollection_List< TopoDS_Shape > &L)
 
static void GCopyList (const NCollection_List< TopoDS_Shape > &Lin, const int i1, const int i2, NCollection_List< TopoDS_Shape > &Lou)
 
static void GCopyList (const NCollection_List< TopoDS_Shape > &Lin, NCollection_List< TopoDS_Shape > &Lou)
 
static void GdumpPNT (const gp_Pnt &P)
 
static void GdumpORIPARPNT (const TopAbs_Orientation o, const double p, const gp_Pnt &Pnt)
 
static void PrintGeo (const TopoDS_Shape &S)
 
static void PrintSur (const TopoDS_Face &F)
 
static void PrintCur (const TopoDS_Edge &E)
 
static void PrintPnt (const TopoDS_Vertex &V)
 
static void PrintOri (const TopoDS_Shape &S)
 
static TCollection_AsciiString StringState (const TopAbs_State S)
 
static bool GcheckNBOUNDS (const TopoDS_Shape &E)
 

Protected Member Functions

void BuildEdges (const int iC, const occ::handle< TopOpeBRepDS_HDataStructure > &DS)
 update the DS by creating new geometries. create edges on the new curve <Icurv>.
 
void BuildFaces (const int iS, const occ::handle< TopOpeBRepDS_HDataStructure > &DS)
 update the DS by creating new geometries. create faces on the new surface <ISurf>.
 
void BuildFaces (const occ::handle< TopOpeBRepDS_HDataStructure > &DS)
 update the DS by creating new geometries. create shapes from the new geometries.
 
void SplitEdge (const TopoDS_Shape &E1, const TopAbs_State TB1, const TopAbs_State TB2)
 Split <E1> keeping the parts of state <TB1>.
 
void SplitEdge1 (const TopoDS_Shape &E1, const TopAbs_State TB1, const TopAbs_State TB2)
 Split <E1> keeping the parts of state <TB1>.
 
void SplitEdge2 (const TopoDS_Shape &E1, const TopAbs_State TB1, const TopAbs_State TB2)
 Split <E1> keeping the parts of state <TB1>.
 
void SplitFace (const TopoDS_Shape &F1, const TopAbs_State TB1, const TopAbs_State TB2)
 Split <F1> keeping the parts of state <TB1>. Merge faces with same domain, keeping parts of state <TB2>.
 
void SplitFace1 (const TopoDS_Shape &F1, const TopAbs_State TB1, const TopAbs_State TB2)
 
void SplitFace2 (const TopoDS_Shape &F1, const TopAbs_State TB1, const TopAbs_State TB2)
 
void SplitSolid (const TopoDS_Shape &S1, const TopAbs_State TB1, const TopAbs_State TB2)
 Split <S1> keeping the parts of state <TB1>.
 
void SplitShapes (TopOpeBRepTool_ShapeExplorer &Ex, const TopAbs_State TB1, const TopAbs_State TB2, TopOpeBRepBuild_ShapeSet &SS, const bool RevOri)
 Explore shapes of given by explorer <Ex> to split them. Store new shapes in the set <SS>. According to RevOri, reverse or not their orientation.
 
void FillFace (const TopoDS_Shape &F1, const TopAbs_State TB1, const NCollection_List< TopoDS_Shape > &LF2, const TopAbs_State TB2, TopOpeBRepBuild_WireEdgeSet &WES, const bool RevOri)
 Split edges of <F1> and store wires and edges in the set <WES>. According to RevOri, reverse (or not) orientation.
 
void FillSolid (const TopoDS_Shape &S1, const TopAbs_State TB1, const NCollection_List< TopoDS_Shape > &LS2, const TopAbs_State TB2, TopOpeBRepBuild_ShapeSet &SS, const bool RevOri)
 Split faces of <S1> and store shells and faces in the set <SS>. According to RevOri, reverse (or not) orientation.
 
void FillShape (const TopoDS_Shape &S1, const TopAbs_State TB1, const NCollection_List< TopoDS_Shape > &LS2, const TopAbs_State TB2, TopOpeBRepBuild_ShapeSet &SS, const bool RevOri)
 Split subshapes of <S1> and store subshapes in the set <SS>. According to RevOri, reverse (or not) orientation.
 
void FillVertexSet (TopOpeBRepDS_PointIterator &IT, const TopAbs_State TB, TopOpeBRepBuild_PaveSet &PVS) const
 fills the vertex set PVS with the point iterator IT. IT accesses a list of interferences which geometry is a point or a vertex. TB indicates the orientation to give to the geometries found in interference list accessed by IT.
 
void FillVertexSetOnValue (const TopOpeBRepDS_PointIterator &IT, const TopAbs_State TB, TopOpeBRepBuild_PaveSet &PVS) const
 fills vertex set PVS with the current value of IT. I geometry is a point or a vertex. TB indicates the orientation to give to geometries found I
 
bool ToSplit (const TopoDS_Shape &S, const TopAbs_State TB) const
 Returns True if the shape has not already been split.
 
void MarkSplit (const TopoDS_Shape &S, const TopAbs_State TB, const bool B=true)
 add the shape to the map of split shapes. mark as split/not split on <state>, according to B value.
 
NCollection_List< TopoDS_Shape > & ChangeMerged (const TopoDS_Shape &S, const TopAbs_State TB)
 Returns a ref. on the list of shapes connected to as <TB> merged parts of .
 
TopoDS_ShapeChangeNewVertex (const int I)
 Returns a ref. on the vertex created on point .
 
NCollection_List< TopoDS_Shape > & ChangeNewEdges (const int I)
 Returns a ref. on the list of edges created on curve .
 
NCollection_List< TopoDS_Shape > & ChangeNewFaces (const int I)
 Returns a ref. on the list of faces created on surface .
 
void AddIntersectionEdges (TopoDS_Shape &F, const TopAbs_State TB, const bool RevOri, TopOpeBRepBuild_ShapeSet &ES) const
 
void UpdateSplitAndMerged (const NCollection_DataMap< int, NCollection_List< TopoDS_Shape > > &mle, const NCollection_DataMap< int, TopoDS_Shape > &mre, const NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &mlf, const TopAbs_State state)
 

Protected Attributes

TopAbs_State myState1
 
TopAbs_State myState2
 
TopoDS_Shape myShape1
 
TopoDS_Shape myShape2
 
occ::handle< TopOpeBRepDS_HDataStructuremyDataStructure
 
TopOpeBRepDS_BuildTool myBuildTool
 
occ::handle< NCollection_HArray1< TopoDS_Shape > > myNewVertices
 
NCollection_DataMap< int, NCollection_List< TopoDS_Shape > > myNewEdges
 
occ::handle< NCollection_HArray1< NCollection_List< TopoDS_Shape > > > myNewFaces
 
NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHashermySplitIN
 
NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHashermySplitON
 
NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHashermySplitOUT
 
NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHashermyMergedIN
 
NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHashermyMergedON
 
NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHashermyMergedOUT
 
NCollection_List< TopoDS_ShapemyEmptyShapeList
 
NCollection_List< TopoDS_ShapemyListOfSolid
 
NCollection_List< TopoDS_ShapemyListOfFace
 
NCollection_List< TopoDS_ShapemyListOfEdge
 
NCollection_DataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHashermyFSplits
 
NCollection_DataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHashermyESplits
 
bool mySectionDone
 
bool mySplitSectionEdgesDone
 
NCollection_List< TopoDS_ShapemySection
 
TopoDS_Solid mySolidReference
 
TopoDS_Solid mySolidToFill
 
NCollection_List< TopoDS_ShapemyFaceAvoid
 
TopoDS_Face myFaceReference
 
TopoDS_Face myFaceToFill
 
NCollection_List< TopoDS_ShapemyEdgeAvoid
 
TopoDS_Edge myEdgeReference
 
TopoDS_Edge myEdgeToFill
 
NCollection_List< TopoDS_ShapemyVertexAvoid
 
NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHashermyMAP1
 
NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHashermyMAP2
 
int myIsKPart
 
NCollection_DataMap< TopoDS_Shape, NCollection_List< TopoDS_Shape >, TopTools_ShapeMapHashermyKPMAPf1f2
 
int mySHASETindex
 
bool myClassifyDef
 
bool myClassifyVal
 
TopOpeBRepTool_ShapeClassifier myShapeClassifier
 
NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHashermyMemoSplit
 
TCollection_AsciiString myEmptyAS
 
bool myProcessON
 
NCollection_IndexedDataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHashermyONFacesMap
 
NCollection_IndexedMap< TopoDS_ShapemyONElemMap
 

Detailed Description

The Builder algorithm constructs topological objects from an existing topology and new geometries attached to the topology. It is used to construct the result of a topological operation; the existing topologies are the parts involved in the topological operation and the new geometries are the intersection lines and points.

Constructor & Destructor Documentation

◆ TopOpeBRepBuild_Builder()

TopOpeBRepBuild_Builder::TopOpeBRepBuild_Builder ( const TopOpeBRepDS_BuildTool & BT)

◆ ~TopOpeBRepBuild_Builder()

virtual TopOpeBRepBuild_Builder::~TopOpeBRepBuild_Builder ( )
virtual

Member Function Documentation

◆ AddIntersectionEdges()

void TopOpeBRepBuild_Builder::AddIntersectionEdges ( TopoDS_Shape & F,
const TopAbs_State TB,
const bool RevOri,
TopOpeBRepBuild_ShapeSet & ES ) const
protected

◆ AddONPatchesSFS()

void TopOpeBRepBuild_Builder::AddONPatchesSFS ( const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_ShellFaceSet & SFS )

◆ BuildEdges() [1/2]

void TopOpeBRepBuild_Builder::BuildEdges ( const int iC,
const occ::handle< TopOpeBRepDS_HDataStructure > & DS )
protected

update the DS by creating new geometries. create edges on the new curve <Icurv>.

◆ BuildEdges() [2/2]

void TopOpeBRepBuild_Builder::BuildEdges ( const occ::handle< TopOpeBRepDS_HDataStructure > & DS)

update the DS by creating new geometries. create shapes from the new geometries.

◆ BuildFaces() [1/2]

void TopOpeBRepBuild_Builder::BuildFaces ( const int iS,
const occ::handle< TopOpeBRepDS_HDataStructure > & DS )
protected

update the DS by creating new geometries. create faces on the new surface <ISurf>.

◆ BuildFaces() [2/2]

void TopOpeBRepBuild_Builder::BuildFaces ( const occ::handle< TopOpeBRepDS_HDataStructure > & DS)
protected

update the DS by creating new geometries. create shapes from the new geometries.

◆ BuildTool()

const TopOpeBRepDS_BuildTool & TopOpeBRepBuild_Builder::BuildTool ( ) const

◆ BuildVertices()

void TopOpeBRepBuild_Builder::BuildVertices ( const occ::handle< TopOpeBRepDS_HDataStructure > & DS)

update the DS by creating new geometries. create vertices on DS points.

◆ ChangeBuildTool()

TopOpeBRepDS_BuildTool & TopOpeBRepBuild_Builder::ChangeBuildTool ( )

◆ ChangeClassify()

void TopOpeBRepBuild_Builder::ChangeClassify ( const bool B)

◆ ChangeMerged()

NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_Builder::ChangeMerged ( const TopoDS_Shape & S,
const TopAbs_State TB )
protected

Returns a ref. on the list of shapes connected to as <TB> merged parts of .

◆ ChangeMSplit()

◆ ChangeNewEdges()

NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_Builder::ChangeNewEdges ( const int I)
protected

Returns a ref. on the list of edges created on curve .

◆ ChangeNewFaces()

NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_Builder::ChangeNewFaces ( const int I)
protected

Returns a ref. on the list of faces created on surface .

◆ ChangeNewVertex()

TopoDS_Shape & TopOpeBRepBuild_Builder::ChangeNewVertex ( const int I)
protected

Returns a ref. on the vertex created on point .

◆ ChangeSplit()

NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_Builder::ChangeSplit ( const TopoDS_Shape & S,
const TopAbs_State TB )

Returns a ref.on the list of shapes connected to as <TB> split parts of . Mark as split in <TB> parts.

◆ Classify()

bool TopOpeBRepBuild_Builder::Classify ( ) const

◆ Clear()

virtual void TopOpeBRepBuild_Builder::Clear ( )
virtual

Removes all splits and merges already performed. Does NOT clear the handled DS.

Reimplemented in TopOpeBRepBuild_Builder1.

◆ ClearMaps()

void TopOpeBRepBuild_Builder::ClearMaps ( )

◆ Contains()

static bool TopOpeBRepBuild_Builder::Contains ( const TopoDS_Shape & S,
const NCollection_List< TopoDS_Shape > & L )
static

◆ DataStructure()

occ::handle< TopOpeBRepDS_HDataStructure > TopOpeBRepBuild_Builder::DataStructure ( ) const

returns the DS handled by this builder

◆ End()

void TopOpeBRepBuild_Builder::End ( )

◆ FillFace()

void TopOpeBRepBuild_Builder::FillFace ( const TopoDS_Shape & F1,
const TopAbs_State TB1,
const NCollection_List< TopoDS_Shape > & LF2,
const TopAbs_State TB2,
TopOpeBRepBuild_WireEdgeSet & WES,
const bool RevOri )
protected

Split edges of <F1> and store wires and edges in the set <WES>. According to RevOri, reverse (or not) orientation.

◆ FillOnPatches()

void TopOpeBRepBuild_Builder::FillOnPatches ( const NCollection_List< TopoDS_Shape > & anEdgesON,
const TopoDS_Shape & aBaseFace,
const NCollection_IndexedMap< TopoDS_Shape > & avoidMap )

◆ FillSecEdgeAncestorMap()

void TopOpeBRepBuild_Builder::FillSecEdgeAncestorMap ( const int aShapeRank,
const NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHasher > & aMapON,
NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > & anAncMap ) const

Fills anAncMap with pairs (edge,ancestor edge) for each split from the map aMapON for the shape object identified by ShapeRank.

◆ FillShape()

void TopOpeBRepBuild_Builder::FillShape ( const TopoDS_Shape & S1,
const TopAbs_State TB1,
const NCollection_List< TopoDS_Shape > & LS2,
const TopAbs_State TB2,
TopOpeBRepBuild_ShapeSet & SS,
const bool RevOri )
protected

Split subshapes of <S1> and store subshapes in the set <SS>. According to RevOri, reverse (or not) orientation.

◆ FillSolid()

void TopOpeBRepBuild_Builder::FillSolid ( const TopoDS_Shape & S1,
const TopAbs_State TB1,
const NCollection_List< TopoDS_Shape > & LS2,
const TopAbs_State TB2,
TopOpeBRepBuild_ShapeSet & SS,
const bool RevOri )
protected

Split faces of <S1> and store shells and faces in the set <SS>. According to RevOri, reverse (or not) orientation.

◆ FillVertexSet()

void TopOpeBRepBuild_Builder::FillVertexSet ( TopOpeBRepDS_PointIterator & IT,
const TopAbs_State TB,
TopOpeBRepBuild_PaveSet & PVS ) const
protected

fills the vertex set PVS with the point iterator IT. IT accesses a list of interferences which geometry is a point or a vertex. TB indicates the orientation to give to the geometries found in interference list accessed by IT.

◆ FillVertexSetOnValue()

void TopOpeBRepBuild_Builder::FillVertexSetOnValue ( const TopOpeBRepDS_PointIterator & IT,
const TopAbs_State TB,
TopOpeBRepBuild_PaveSet & PVS ) const
protected

fills vertex set PVS with the current value of IT. I geometry is a point or a vertex. TB indicates the orientation to give to geometries found I

◆ FindFacesTouchingEdge()

void TopOpeBRepBuild_Builder::FindFacesTouchingEdge ( const TopoDS_Shape & aFace,
const TopoDS_Shape & anEdge,
const int aShRank,
NCollection_List< TopoDS_Shape > & aFaces ) const

◆ FindIsKPart()

int TopOpeBRepBuild_Builder::FindIsKPart ( )

◆ FindSameDomain()

void TopOpeBRepBuild_Builder::FindSameDomain ( NCollection_List< TopoDS_Shape > & L1,
NCollection_List< TopoDS_Shape > & L2 ) const

◆ FindSameDomainSameOrientation()

void TopOpeBRepBuild_Builder::FindSameDomainSameOrientation ( NCollection_List< TopoDS_Shape > & LSO,
NCollection_List< TopoDS_Shape > & LDO ) const

◆ FindSameRank()

void TopOpeBRepBuild_Builder::FindSameRank ( const NCollection_List< TopoDS_Shape > & L1,
const int R,
NCollection_List< TopoDS_Shape > & L2 ) const

◆ GcheckNBOUNDS()

static bool TopOpeBRepBuild_Builder::GcheckNBOUNDS ( const TopoDS_Shape & E)
static

◆ GClearMaps()

void TopOpeBRepBuild_Builder::GClearMaps ( )

◆ GContains()

static bool TopOpeBRepBuild_Builder::GContains ( const TopoDS_Shape & S,
const NCollection_List< TopoDS_Shape > & L )
static

◆ GCopyList() [1/2]

static void TopOpeBRepBuild_Builder::GCopyList ( const NCollection_List< TopoDS_Shape > & Lin,
const int i1,
const int i2,
NCollection_List< TopoDS_Shape > & Lou )
static

◆ GCopyList() [2/2]

static void TopOpeBRepBuild_Builder::GCopyList ( const NCollection_List< TopoDS_Shape > & Lin,
NCollection_List< TopoDS_Shape > & Lou )
static

◆ GdumpEDBU()

void TopOpeBRepBuild_Builder::GdumpEDBU ( TopOpeBRepBuild_EdgeBuilder & EB) const

◆ GdumpEDG()

void TopOpeBRepBuild_Builder::GdumpEDG ( const TopoDS_Shape & S,
void *const str = nullptr ) const

◆ GdumpEDGVER()

void TopOpeBRepBuild_Builder::GdumpEDGVER ( const TopoDS_Shape & E,
const TopoDS_Shape & V,
void *const str = nullptr ) const

◆ GdumpEXP()

void TopOpeBRepBuild_Builder::GdumpEXP ( const TopOpeBRepTool_ShapeExplorer & E) const

◆ GdumpFABU()

void TopOpeBRepBuild_Builder::GdumpFABU ( TopOpeBRepBuild_FaceBuilder & FB) const

◆ GdumpLS()

void TopOpeBRepBuild_Builder::GdumpLS ( const NCollection_List< TopoDS_Shape > & L) const

◆ GdumpORIPARPNT()

static void TopOpeBRepBuild_Builder::GdumpORIPARPNT ( const TopAbs_Orientation o,
const double p,
const gp_Pnt & Pnt )
static

◆ GdumpPNT()

static void TopOpeBRepBuild_Builder::GdumpPNT ( const gp_Pnt & P)
static

◆ GdumpSAMDOM()

void TopOpeBRepBuild_Builder::GdumpSAMDOM ( const NCollection_List< TopoDS_Shape > & L,
void *const str = nullptr ) const

◆ GdumpSHA()

void TopOpeBRepBuild_Builder::GdumpSHA ( const TopoDS_Shape & S,
void *const str = nullptr ) const

◆ GdumpSHAORI()

void TopOpeBRepBuild_Builder::GdumpSHAORI ( const TopoDS_Shape & S,
void *const str = nullptr ) const

◆ GdumpSHAORIGEO()

void TopOpeBRepBuild_Builder::GdumpSHAORIGEO ( const TopoDS_Shape & S,
void *const str = nullptr ) const

◆ GdumpSHASETindex()

int TopOpeBRepBuild_Builder::GdumpSHASETindex ( )

◆ GdumpSHASETreset()

void TopOpeBRepBuild_Builder::GdumpSHASETreset ( )

◆ GdumpSHASTA() [1/3]

void TopOpeBRepBuild_Builder::GdumpSHASTA ( const int iS,
const TopAbs_State T,
const TCollection_AsciiString & a = "",
const TCollection_AsciiString & b = "" ) const

◆ GdumpSHASTA() [2/3]

void TopOpeBRepBuild_Builder::GdumpSHASTA ( const int iS,
const TopAbs_State T,
const TopOpeBRepBuild_ShapeSet & SS,
const TCollection_AsciiString & a = "",
const TCollection_AsciiString & b = "",
const TCollection_AsciiString & c = "\n" ) const

◆ GdumpSHASTA() [3/3]

void TopOpeBRepBuild_Builder::GdumpSHASTA ( const TopoDS_Shape & S,
const TopAbs_State T,
const TCollection_AsciiString & a = "",
const TCollection_AsciiString & b = "" ) const

◆ GdumpSOBU()

void TopOpeBRepBuild_Builder::GdumpSOBU ( TopOpeBRepBuild_SolidBuilder & SB) const

◆ GEDBUMakeEdges()

void TopOpeBRepBuild_Builder::GEDBUMakeEdges ( const TopoDS_Shape & EF,
TopOpeBRepBuild_EdgeBuilder & EDBU,
NCollection_List< TopoDS_Shape > & LOE ) const

◆ GFABUMakeFaces()

void TopOpeBRepBuild_Builder::GFABUMakeFaces ( const TopoDS_Shape & FF,
TopOpeBRepBuild_FaceBuilder & FABU,
NCollection_List< TopoDS_Shape > & LOF,
NCollection_DataMap< TopoDS_Shape, int, TopTools_ShapeMapHasher > & MWisOld )

◆ GFillCurveTopologyWES() [1/2]

void TopOpeBRepBuild_Builder::GFillCurveTopologyWES ( const TopoDS_Shape & F,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_WireEdgeSet & WES )

◆ GFillCurveTopologyWES() [2/2]

void TopOpeBRepBuild_Builder::GFillCurveTopologyWES ( const TopOpeBRepDS_CurveIterator & IT,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_WireEdgeSet & WES ) const

◆ GFillEdgePVS()

void TopOpeBRepBuild_Builder::GFillEdgePVS ( const TopoDS_Shape & E,
const NCollection_List< TopoDS_Shape > & LE2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_PaveSet & PVS )

◆ GFillEdgesPVS()

void TopOpeBRepBuild_Builder::GFillEdgesPVS ( const NCollection_List< TopoDS_Shape > & LE1,
const NCollection_List< TopoDS_Shape > & LE2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_PaveSet & PVS )

◆ GFillEdgeWES()

void TopOpeBRepBuild_Builder::GFillEdgeWES ( const TopoDS_Shape & E,
const NCollection_List< TopoDS_Shape > & LF2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_WireEdgeSet & WES )

◆ GFillFaceSFS()

void TopOpeBRepBuild_Builder::GFillFaceSFS ( const TopoDS_Shape & F1,
const NCollection_List< TopoDS_Shape > & LSO2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_ShellFaceSet & SFS )

◆ GFillFacesWES()

void TopOpeBRepBuild_Builder::GFillFacesWES ( const NCollection_List< TopoDS_Shape > & LF1,
const NCollection_List< TopoDS_Shape > & LF2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_WireEdgeSet & WES )

◆ GFillFacesWESK()

void TopOpeBRepBuild_Builder::GFillFacesWESK ( const NCollection_List< TopoDS_Shape > & LF1,
const NCollection_List< TopoDS_Shape > & LF2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_WireEdgeSet & WES,
const int K )

◆ GFillFacesWESMakeFaces()

void TopOpeBRepBuild_Builder::GFillFacesWESMakeFaces ( const NCollection_List< TopoDS_Shape > & LF1,
const NCollection_List< TopoDS_Shape > & LF2,
const NCollection_List< TopoDS_Shape > & LSO,
const TopOpeBRepBuild_GTopo & G )

◆ GFillFaceWES()

void TopOpeBRepBuild_Builder::GFillFaceWES ( const TopoDS_Shape & F,
const NCollection_List< TopoDS_Shape > & LF2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_WireEdgeSet & WES )

◆ GFillONPartsWES()

void TopOpeBRepBuild_Builder::GFillONPartsWES ( const TopoDS_Shape & F,
const TopOpeBRepBuild_GTopo & G,
const NCollection_List< TopoDS_Shape > & LSclass,
TopOpeBRepBuild_WireEdgeSet & WES )

◆ GFillPointTopologyPVS() [1/2]

void TopOpeBRepBuild_Builder::GFillPointTopologyPVS ( const TopoDS_Shape & E,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_PaveSet & PVS )

◆ GFillPointTopologyPVS() [2/2]

void TopOpeBRepBuild_Builder::GFillPointTopologyPVS ( const TopoDS_Shape & E,
const TopOpeBRepDS_PointIterator & IT,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_PaveSet & PVS ) const

◆ GFillShellSFS()

virtual void TopOpeBRepBuild_Builder::GFillShellSFS ( const TopoDS_Shape & SH1,
const NCollection_List< TopoDS_Shape > & LSO2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_ShellFaceSet & SFS )
virtual

Reimplemented in TopOpeBRepBuild_Builder1.

◆ GFillSolidSFS()

virtual void TopOpeBRepBuild_Builder::GFillSolidSFS ( const TopoDS_Shape & SO1,
const NCollection_List< TopoDS_Shape > & LSO2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_ShellFaceSet & SFS )
virtual

Reimplemented in TopOpeBRepBuild_Builder1.

◆ GFillSolidsSFS()

void TopOpeBRepBuild_Builder::GFillSolidsSFS ( const NCollection_List< TopoDS_Shape > & LSO1,
const NCollection_List< TopoDS_Shape > & LSO2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_ShellFaceSet & SFS )

◆ GFillSurfaceTopologySFS() [1/2]

void TopOpeBRepBuild_Builder::GFillSurfaceTopologySFS ( const TopoDS_Shape & SO1,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_ShellFaceSet & SFS )

◆ GFillSurfaceTopologySFS() [2/2]

void TopOpeBRepBuild_Builder::GFillSurfaceTopologySFS ( const TopOpeBRepDS_SurfaceIterator & IT,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_ShellFaceSet & SFS ) const

◆ GFillWireWES()

void TopOpeBRepBuild_Builder::GFillWireWES ( const TopoDS_Shape & W,
const NCollection_List< TopoDS_Shape > & LF2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_WireEdgeSet & WES )

◆ GFindSamDom() [1/2]

void TopOpeBRepBuild_Builder::GFindSamDom ( const TopoDS_Shape & S,
NCollection_List< TopoDS_Shape > & L1,
NCollection_List< TopoDS_Shape > & L2 ) const

◆ GFindSamDom() [2/2]

void TopOpeBRepBuild_Builder::GFindSamDom ( NCollection_List< TopoDS_Shape > & L1,
NCollection_List< TopoDS_Shape > & L2 ) const

◆ GFindSamDomSODO() [1/2]

void TopOpeBRepBuild_Builder::GFindSamDomSODO ( const TopoDS_Shape & S,
NCollection_List< TopoDS_Shape > & LSO,
NCollection_List< TopoDS_Shape > & LDO ) const

◆ GFindSamDomSODO() [2/2]

void TopOpeBRepBuild_Builder::GFindSamDomSODO ( NCollection_List< TopoDS_Shape > & LSO,
NCollection_List< TopoDS_Shape > & LDO ) const

◆ GFindSameRank()

void TopOpeBRepBuild_Builder::GFindSameRank ( const NCollection_List< TopoDS_Shape > & L1,
const int R,
NCollection_List< TopoDS_Shape > & L2 ) const

◆ GIsShapeOf()

bool TopOpeBRepBuild_Builder::GIsShapeOf ( const TopoDS_Shape & S,
const int I12 ) const

◆ GKeepShape()

bool TopOpeBRepBuild_Builder::GKeepShape ( const TopoDS_Shape & S,
const NCollection_List< TopoDS_Shape > & Lref,
const TopAbs_State T )

◆ GKeepShape1()

bool TopOpeBRepBuild_Builder::GKeepShape1 ( const TopoDS_Shape & S,
const NCollection_List< TopoDS_Shape > & Lref,
const TopAbs_State T,
TopAbs_State & pos )

return True if S is classified <T> / Lref shapes

◆ GKeepShapes()

void TopOpeBRepBuild_Builder::GKeepShapes ( const TopoDS_Shape & S,
const NCollection_List< TopoDS_Shape > & Lref,
const TopAbs_State T,
const NCollection_List< TopoDS_Shape > & Lin,
NCollection_List< TopoDS_Shape > & Lou )

add to Lou the shapes of Lin classified <T> / Lref shapes. Lou is not cleared. (S is a dummy trace argument)

◆ GMapShapes()

void TopOpeBRepBuild_Builder::GMapShapes ( const TopoDS_Shape & S1,
const TopoDS_Shape & S2 )

◆ GMergeEdges()

void TopOpeBRepBuild_Builder::GMergeEdges ( const NCollection_List< TopoDS_Shape > & LE1,
const NCollection_List< TopoDS_Shape > & LE2,
const TopOpeBRepBuild_GTopo & G )

◆ GMergeEdgeWES()

void TopOpeBRepBuild_Builder::GMergeEdgeWES ( const TopoDS_Shape & E,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_WireEdgeSet & WES )

◆ GMergeFaces()

void TopOpeBRepBuild_Builder::GMergeFaces ( const NCollection_List< TopoDS_Shape > & LF1,
const NCollection_List< TopoDS_Shape > & LF2,
const TopOpeBRepBuild_GTopo & G )

◆ GMergeFaceSFS()

void TopOpeBRepBuild_Builder::GMergeFaceSFS ( const TopoDS_Shape & F,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_ShellFaceSet & SFS )

◆ GMergeSolids()

void TopOpeBRepBuild_Builder::GMergeSolids ( const NCollection_List< TopoDS_Shape > & LSO1,
const NCollection_List< TopoDS_Shape > & LSO2,
const TopOpeBRepBuild_GTopo & G )

◆ GParamOnReference()

bool TopOpeBRepBuild_Builder::GParamOnReference ( const TopoDS_Vertex & V,
const TopoDS_Edge & E,
double & P ) const

◆ GPVSMakeEdges()

void TopOpeBRepBuild_Builder::GPVSMakeEdges ( const TopoDS_Shape & EF,
TopOpeBRepBuild_PaveSet & PVS,
NCollection_List< TopoDS_Shape > & LOE ) const

◆ GSFSMakeSolids()

void TopOpeBRepBuild_Builder::GSFSMakeSolids ( const TopoDS_Shape & SOF,
TopOpeBRepBuild_ShellFaceSet & SFS,
NCollection_List< TopoDS_Shape > & LOSO )

◆ GShapeRank()

int TopOpeBRepBuild_Builder::GShapeRank ( const TopoDS_Shape & S) const

◆ GSOBUMakeSolids()

void TopOpeBRepBuild_Builder::GSOBUMakeSolids ( const TopoDS_Shape & SOF,
TopOpeBRepBuild_SolidBuilder & SOBU,
NCollection_List< TopoDS_Shape > & LOSO )

◆ GSplitEdge()

void TopOpeBRepBuild_Builder::GSplitEdge ( const TopoDS_Shape & E,
const TopOpeBRepBuild_GTopo & G,
const NCollection_List< TopoDS_Shape > & LSclass )

◆ GSplitEdgeWES()

void TopOpeBRepBuild_Builder::GSplitEdgeWES ( const TopoDS_Shape & E,
const NCollection_List< TopoDS_Shape > & LF2,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_WireEdgeSet & WES )

◆ GSplitFace()

void TopOpeBRepBuild_Builder::GSplitFace ( const TopoDS_Shape & F,
const TopOpeBRepBuild_GTopo & G,
const NCollection_List< TopoDS_Shape > & LSclass )

◆ GSplitFaceSFS()

void TopOpeBRepBuild_Builder::GSplitFaceSFS ( const TopoDS_Shape & F1,
const NCollection_List< TopoDS_Shape > & LSclass,
const TopOpeBRepBuild_GTopo & G,
TopOpeBRepBuild_ShellFaceSet & SFS )

◆ GTakeCommonOfDiff()

static bool TopOpeBRepBuild_Builder::GTakeCommonOfDiff ( const TopOpeBRepBuild_GTopo & G)
static

◆ GTakeCommonOfSame()

static bool TopOpeBRepBuild_Builder::GTakeCommonOfSame ( const TopOpeBRepBuild_GTopo & G)
static

◆ GToMerge()

bool TopOpeBRepBuild_Builder::GToMerge ( const TopoDS_Shape & S) const

◆ GToSplit()

bool TopOpeBRepBuild_Builder::GToSplit ( const TopoDS_Shape & S,
const TopAbs_State TB ) const

◆ GtraceSPS() [1/4]

bool TopOpeBRepBuild_Builder::GtraceSPS ( const int iS) const

◆ GtraceSPS() [2/4]

bool TopOpeBRepBuild_Builder::GtraceSPS ( const int iS,
const int jS ) const

◆ GtraceSPS() [3/4]

bool TopOpeBRepBuild_Builder::GtraceSPS ( const TopoDS_Shape & S) const

◆ GtraceSPS() [4/4]

bool TopOpeBRepBuild_Builder::GtraceSPS ( const TopoDS_Shape & S,
int & IS ) const

◆ GWESMakeFaces()

virtual void TopOpeBRepBuild_Builder::GWESMakeFaces ( const TopoDS_Shape & FF,
TopOpeBRepBuild_WireEdgeSet & WES,
NCollection_List< TopoDS_Shape > & LOF )
virtual

Reimplemented in TopOpeBRepBuild_Builder1.

◆ InitSection()

void TopOpeBRepBuild_Builder::InitSection ( )

◆ IsKPart()

int TopOpeBRepBuild_Builder::IsKPart ( ) const

◆ IsMerged()

bool TopOpeBRepBuild_Builder::IsMerged ( const TopoDS_Shape & S,
const TopAbs_State TB ) const

Returns True if the shape has been merged.

◆ IsShapeOf()

bool TopOpeBRepBuild_Builder::IsShapeOf ( const TopoDS_Shape & S,
const int I12 ) const

◆ IsSplit()

bool TopOpeBRepBuild_Builder::IsSplit ( const TopoDS_Shape & S,
const TopAbs_State TB ) const

Returns True if the shape has been split.

◆ KeepShape()

bool TopOpeBRepBuild_Builder::KeepShape ( const TopoDS_Shape & S,
const NCollection_List< TopoDS_Shape > & LS,
const TopAbs_State T )

◆ KPclassF()

TopAbs_State TopOpeBRepBuild_Builder::KPclassF ( const TopoDS_Shape & F1,
const TopoDS_Shape & F2 )

◆ KPclassFF()

void TopOpeBRepBuild_Builder::KPclassFF ( const TopoDS_Shape & F1,
const TopoDS_Shape & F2,
TopAbs_State & T1,
TopAbs_State & T2 )

◆ KPclasSS() [1/3]

TopAbs_State TopOpeBRepBuild_Builder::KPclasSS ( const TopoDS_Shape & S1,
const NCollection_List< TopoDS_Shape > & exceptLS1,
const TopoDS_Shape & S2 )

◆ KPclasSS() [2/3]

TopAbs_State TopOpeBRepBuild_Builder::KPclasSS ( const TopoDS_Shape & S1,
const TopoDS_Shape & exceptS1,
const TopoDS_Shape & S2 )

◆ KPclasSS() [3/3]

TopAbs_State TopOpeBRepBuild_Builder::KPclasSS ( const TopoDS_Shape & S1,
const TopoDS_Shape & S2 )

◆ KPClearMaps()

void TopOpeBRepBuild_Builder::KPClearMaps ( )

◆ KPContains()

static bool TopOpeBRepBuild_Builder::KPContains ( const TopoDS_Shape & S,
const NCollection_List< TopoDS_Shape > & L )
static

◆ KPisdisj()

int TopOpeBRepBuild_Builder::KPisdisj ( )

◆ KPisdisjanalyse()

void TopOpeBRepBuild_Builder::KPisdisjanalyse ( const TopAbs_State ST1,
const TopAbs_State ST2,
int & I,
int & IC1,
int & IC2 ) const

◆ KPisdisjsh()

int TopOpeBRepBuild_Builder::KPisdisjsh ( const TopoDS_Shape & S) const

◆ KPisfafa()

int TopOpeBRepBuild_Builder::KPisfafa ( )

◆ KPisfafash()

int TopOpeBRepBuild_Builder::KPisfafash ( const TopoDS_Shape & S) const

◆ KPiskole()

int TopOpeBRepBuild_Builder::KPiskole ( )

◆ KPiskoleanalyse()

void TopOpeBRepBuild_Builder::KPiskoleanalyse ( const TopAbs_State FT1,
const TopAbs_State FT2,
const TopAbs_State ST1,
const TopAbs_State ST2,
int & I,
int & I1,
int & I2 ) const

◆ KPiskoleFF()

bool TopOpeBRepBuild_Builder::KPiskoleFF ( const TopoDS_Shape & F1,
const TopoDS_Shape & F2,
TopAbs_State & T1,
TopAbs_State & T2 )

◆ KPiskolesh()

bool TopOpeBRepBuild_Builder::KPiskolesh ( const TopoDS_Shape & S,
NCollection_List< TopoDS_Shape > & LS,
NCollection_List< TopoDS_Shape > & LF ) const

◆ KPiskoletge()

int TopOpeBRepBuild_Builder::KPiskoletge ( )

◆ KPiskoletgeanalyse()

void TopOpeBRepBuild_Builder::KPiskoletgeanalyse ( const TopOpeBRepDS_Config Conf,
const TopAbs_State ST1,
const TopAbs_State ST2,
int & I ) const

◆ KPiskoletgesh()

bool TopOpeBRepBuild_Builder::KPiskoletgesh ( const TopoDS_Shape & S,
NCollection_List< TopoDS_Shape > & LS,
NCollection_List< TopoDS_Shape > & LF ) const

◆ KPissoso()

int TopOpeBRepBuild_Builder::KPissoso ( )

◆ KPissososh()

int TopOpeBRepBuild_Builder::KPissososh ( const TopoDS_Shape & S) const

◆ KPlhg() [1/2]

int TopOpeBRepBuild_Builder::KPlhg ( const TopoDS_Shape & S,
const TopAbs_ShapeEnum T ) const

◆ KPlhg() [2/2]

int TopOpeBRepBuild_Builder::KPlhg ( const TopoDS_Shape & S,
const TopAbs_ShapeEnum T,
NCollection_List< TopoDS_Shape > & L ) const

◆ KPlhsd() [1/2]

int TopOpeBRepBuild_Builder::KPlhsd ( const TopoDS_Shape & S,
const TopAbs_ShapeEnum T ) const

◆ KPlhsd() [2/2]

int TopOpeBRepBuild_Builder::KPlhsd ( const TopoDS_Shape & S,
const TopAbs_ShapeEnum T,
NCollection_List< TopoDS_Shape > & L ) const

◆ KPls() [1/2]

static int TopOpeBRepBuild_Builder::KPls ( const TopoDS_Shape & S,
const TopAbs_ShapeEnum T )
static

◆ KPls() [2/2]

static int TopOpeBRepBuild_Builder::KPls ( const TopoDS_Shape & S,
const TopAbs_ShapeEnum T,
NCollection_List< TopoDS_Shape > & L )
static

◆ KPmakeface()

TopoDS_Shape TopOpeBRepBuild_Builder::KPmakeface ( const TopoDS_Shape & F1,
const NCollection_List< TopoDS_Shape > & LF2,
const TopAbs_State T1,
const TopAbs_State T2,
const bool R1,
const bool R2 )

◆ KPreturn()

static int TopOpeBRepBuild_Builder::KPreturn ( const int KP)
static

◆ KPSameDomain()

void TopOpeBRepBuild_Builder::KPSameDomain ( NCollection_List< TopoDS_Shape > & L1,
NCollection_List< TopoDS_Shape > & L2 ) const

◆ MakeEdges()

void TopOpeBRepBuild_Builder::MakeEdges ( const TopoDS_Shape & E,
TopOpeBRepBuild_EdgeBuilder & B,
NCollection_List< TopoDS_Shape > & L )

◆ MakeFaces()

void TopOpeBRepBuild_Builder::MakeFaces ( const TopoDS_Shape & F,
TopOpeBRepBuild_FaceBuilder & B,
NCollection_List< TopoDS_Shape > & L )

◆ MakeShells()

void TopOpeBRepBuild_Builder::MakeShells ( TopOpeBRepBuild_SolidBuilder & B,
NCollection_List< TopoDS_Shape > & L )

◆ MakeSolids()

void TopOpeBRepBuild_Builder::MakeSolids ( TopOpeBRepBuild_SolidBuilder & B,
NCollection_List< TopoDS_Shape > & L )

◆ MapShapes()

void TopOpeBRepBuild_Builder::MapShapes ( const TopoDS_Shape & S1,
const TopoDS_Shape & S2 )

◆ MarkSplit()

void TopOpeBRepBuild_Builder::MarkSplit ( const TopoDS_Shape & S,
const TopAbs_State TB,
const bool B = true )
protected

add the shape to the map of split shapes. mark as split/not split on <state>, according to B value.

◆ Merged()

const NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_Builder::Merged ( const TopoDS_Shape & S,
const TopAbs_State TB ) const

Returns the merged parts <TB> of shape .

◆ MergeEdges()

void TopOpeBRepBuild_Builder::MergeEdges ( const NCollection_List< TopoDS_Shape > & L1,
const TopAbs_State TB1,
const NCollection_List< TopoDS_Shape > & L2,
const TopAbs_State TB2,
const bool onA = false,
const bool onB = false,
const bool onAB = false )

Merges the two edges <S1> and <S2> keeping the parts in each edge of states <TB1> and <TB2>. Booleans onA, onB, onAB indicate whether parts of edges found as state ON respectively on first, second, and both shapes must be (or not) built.

◆ MergeFaces()

void TopOpeBRepBuild_Builder::MergeFaces ( const NCollection_List< TopoDS_Shape > & S1,
const TopAbs_State TB1,
const NCollection_List< TopoDS_Shape > & S2,
const TopAbs_State TB2,
const bool onA = false,
const bool onB = false,
const bool onAB = false )

Merges the two faces <S1> and <S2> keeping the parts in each face of states <TB1> and <TB2>.

◆ MergeKPart() [1/2]

virtual void TopOpeBRepBuild_Builder::MergeKPart ( )
virtual

Reimplemented in TopOpeBRepBuild_Builder1.

◆ MergeKPart() [2/2]

virtual void TopOpeBRepBuild_Builder::MergeKPart ( const TopAbs_State TB1,
const TopAbs_State TB2 )
virtual

Reimplemented in TopOpeBRepBuild_Builder1.

◆ MergeKPartisdisj()

void TopOpeBRepBuild_Builder::MergeKPartisdisj ( )

◆ MergeKPartisfafa()

void TopOpeBRepBuild_Builder::MergeKPartisfafa ( )

◆ MergeKPartiskole()

void TopOpeBRepBuild_Builder::MergeKPartiskole ( )

◆ MergeKPartiskoletge()

void TopOpeBRepBuild_Builder::MergeKPartiskoletge ( )

◆ MergeKPartissoso()

void TopOpeBRepBuild_Builder::MergeKPartissoso ( )

◆ MergeShapes()

void TopOpeBRepBuild_Builder::MergeShapes ( const TopoDS_Shape & S1,
const TopAbs_State TB1,
const TopoDS_Shape & S2,
const TopAbs_State TB2 )

Merges the two shapes <S1> and <S2> keeping the parts of states <TB1>,<TB2> in <S1>,<S2>.

◆ MergeSolid()

void TopOpeBRepBuild_Builder::MergeSolid ( const TopoDS_Shape & S,
const TopAbs_State TB )

Merges the solid keeping the parts of state <TB>.

◆ MergeSolids()

void TopOpeBRepBuild_Builder::MergeSolids ( const TopoDS_Shape & S1,
const TopAbs_State TB1,
const TopoDS_Shape & S2,
const TopAbs_State TB2 )

Merges the two solids <S1> and <S2> keeping the parts in each solid of states <TB1> and <TB2>.

◆ MSplit()

const NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHasher > & TopOpeBRepBuild_Builder::MSplit ( const TopAbs_State s) const

◆ NewEdges()

const NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_Builder::NewEdges ( const int I) const

Returns the edges created on curve .

◆ NewFaces()

const NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_Builder::NewFaces ( const int I) const

Returns the faces created on surface .

◆ NewVertex()

const TopoDS_Shape & TopOpeBRepBuild_Builder::NewVertex ( const int I) const

Returns the vertex created on point .

◆ Opec12()

bool TopOpeBRepBuild_Builder::Opec12 ( ) const

◆ Opec21()

bool TopOpeBRepBuild_Builder::Opec21 ( ) const

◆ Opecom()

bool TopOpeBRepBuild_Builder::Opecom ( ) const

◆ Opefus()

bool TopOpeBRepBuild_Builder::Opefus ( ) const

◆ Orient()

static TopAbs_Orientation TopOpeBRepBuild_Builder::Orient ( const TopAbs_Orientation O,
const bool R )
static

◆ Perform() [1/2]

virtual void TopOpeBRepBuild_Builder::Perform ( const occ::handle< TopOpeBRepDS_HDataStructure > & HDS)
virtual

Stores the data structure <HDS>, Create shapes from the new geometries.

Reimplemented in TopOpeBRepBuild_Builder1.

◆ Perform() [2/2]

virtual void TopOpeBRepBuild_Builder::Perform ( const occ::handle< TopOpeBRepDS_HDataStructure > & HDS,
const TopoDS_Shape & S1,
const TopoDS_Shape & S2 )
virtual

Stores the data structure <HDS>, Create shapes from the new geometries, Evaluates if an operation performed on shapes S1,S2 is a particular case.

Reimplemented in TopOpeBRepBuild_Builder1.

◆ PrintCur()

static void TopOpeBRepBuild_Builder::PrintCur ( const TopoDS_Edge & E)
static

◆ PrintGeo()

static void TopOpeBRepBuild_Builder::PrintGeo ( const TopoDS_Shape & S)
static

◆ PrintOri()

static void TopOpeBRepBuild_Builder::PrintOri ( const TopoDS_Shape & S)
static

◆ PrintPnt()

static void TopOpeBRepBuild_Builder::PrintPnt ( const TopoDS_Vertex & V)
static

◆ PrintSur()

static void TopOpeBRepBuild_Builder::PrintSur ( const TopoDS_Face & F)
static

◆ RegularizeFace()

void TopOpeBRepBuild_Builder::RegularizeFace ( const TopoDS_Shape & FF,
const TopoDS_Shape & newFace,
NCollection_List< TopoDS_Shape > & LOF )

◆ RegularizeFaces()

void TopOpeBRepBuild_Builder::RegularizeFaces ( const TopoDS_Shape & FF,
const NCollection_List< TopoDS_Shape > & lnewFace,
NCollection_List< TopoDS_Shape > & LOF )

◆ RegularizeSolid()

void TopOpeBRepBuild_Builder::RegularizeSolid ( const TopoDS_Shape & SS,
const TopoDS_Shape & newSolid,
NCollection_List< TopoDS_Shape > & LOS )

◆ RegularizeSolids()

void TopOpeBRepBuild_Builder::RegularizeSolids ( const TopoDS_Shape & SS,
const NCollection_List< TopoDS_Shape > & lnewSolid,
NCollection_List< TopoDS_Shape > & LOS )

◆ Reverse()

static bool TopOpeBRepBuild_Builder::Reverse ( const TopAbs_State T1,
const TopAbs_State T2 )
static

◆ Section() [1/2]

const NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_Builder::Section ( )

◆ Section() [2/2]

void TopOpeBRepBuild_Builder::Section ( NCollection_List< TopoDS_Shape > & L)

return all section edges.

◆ SectionCurves()

void TopOpeBRepBuild_Builder::SectionCurves ( NCollection_List< TopoDS_Shape > & L)

return the section edges built on new curves.

◆ SectionEdges()

void TopOpeBRepBuild_Builder::SectionEdges ( NCollection_List< TopoDS_Shape > & L)

return the parts of edges found ON the boundary of the two arguments S1,S2 of Perform()

◆ ShapePosition()

TopAbs_State TopOpeBRepBuild_Builder::ShapePosition ( const TopoDS_Shape & S,
const NCollection_List< TopoDS_Shape > & LS )

◆ ShapeRank()

int TopOpeBRepBuild_Builder::ShapeRank ( const TopoDS_Shape & S) const

◆ SplitEdge()

void TopOpeBRepBuild_Builder::SplitEdge ( const TopoDS_Shape & E1,
const TopAbs_State TB1,
const TopAbs_State TB2 )
protected

Split <E1> keeping the parts of state <TB1>.

◆ SplitEdge1()

void TopOpeBRepBuild_Builder::SplitEdge1 ( const TopoDS_Shape & E1,
const TopAbs_State TB1,
const TopAbs_State TB2 )
protected

Split <E1> keeping the parts of state <TB1>.

◆ SplitEdge2()

void TopOpeBRepBuild_Builder::SplitEdge2 ( const TopoDS_Shape & E1,
const TopAbs_State TB1,
const TopAbs_State TB2 )
protected

Split <E1> keeping the parts of state <TB1>.

◆ SplitEvisoONperiodicF()

void TopOpeBRepBuild_Builder::SplitEvisoONperiodicF ( )

◆ SplitFace()

void TopOpeBRepBuild_Builder::SplitFace ( const TopoDS_Shape & F1,
const TopAbs_State TB1,
const TopAbs_State TB2 )
protected

Split <F1> keeping the parts of state <TB1>. Merge faces with same domain, keeping parts of state <TB2>.

◆ SplitFace1()

void TopOpeBRepBuild_Builder::SplitFace1 ( const TopoDS_Shape & F1,
const TopAbs_State TB1,
const TopAbs_State TB2 )
protected

◆ SplitFace2()

void TopOpeBRepBuild_Builder::SplitFace2 ( const TopoDS_Shape & F1,
const TopAbs_State TB1,
const TopAbs_State TB2 )
protected

◆ Splits()

const NCollection_List< TopoDS_Shape > & TopOpeBRepBuild_Builder::Splits ( const TopoDS_Shape & S,
const TopAbs_State TB ) const

Returns the split parts <TB> of shape .

◆ SplitSectionEdge()

virtual void TopOpeBRepBuild_Builder::SplitSectionEdge ( const TopoDS_Shape & E)
virtual

create parts ON solid of section edges

◆ SplitSectionEdges()

void TopOpeBRepBuild_Builder::SplitSectionEdges ( )

create parts ON solid of section edges

◆ SplitShapes()

void TopOpeBRepBuild_Builder::SplitShapes ( TopOpeBRepTool_ShapeExplorer & Ex,
const TopAbs_State TB1,
const TopAbs_State TB2,
TopOpeBRepBuild_ShapeSet & SS,
const bool RevOri )
protected

Explore shapes of given by explorer <Ex> to split them. Store new shapes in the set <SS>. According to RevOri, reverse or not their orientation.

◆ SplitSolid()

void TopOpeBRepBuild_Builder::SplitSolid ( const TopoDS_Shape & S1,
const TopAbs_State TB1,
const TopAbs_State TB2 )
protected

Split <S1> keeping the parts of state <TB1>.

◆ StringState()

static TCollection_AsciiString TopOpeBRepBuild_Builder::StringState ( const TopAbs_State S)
static

◆ TopType()

static TopAbs_ShapeEnum TopOpeBRepBuild_Builder::TopType ( const TopoDS_Shape & S)
static

◆ ToSplit()

bool TopOpeBRepBuild_Builder::ToSplit ( const TopoDS_Shape & S,
const TopAbs_State TB ) const
protected

Returns True if the shape has not already been split.

◆ UpdateSplitAndMerged()

void TopOpeBRepBuild_Builder::UpdateSplitAndMerged ( const NCollection_DataMap< int, NCollection_List< TopoDS_Shape > > & mle,
const NCollection_DataMap< int, TopoDS_Shape > & mre,
const NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > & mlf,
const TopAbs_State state )
protected

Field Documentation

◆ myBuildTool

TopOpeBRepDS_BuildTool TopOpeBRepBuild_Builder::myBuildTool
protected

◆ myClassifyDef

bool TopOpeBRepBuild_Builder::myClassifyDef
protected

◆ myClassifyVal

bool TopOpeBRepBuild_Builder::myClassifyVal
protected

◆ myDataStructure

occ::handle<TopOpeBRepDS_HDataStructure> TopOpeBRepBuild_Builder::myDataStructure
protected

◆ myEdgeAvoid

NCollection_List<TopoDS_Shape> TopOpeBRepBuild_Builder::myEdgeAvoid
protected

◆ myEdgeReference

TopoDS_Edge TopOpeBRepBuild_Builder::myEdgeReference
protected

◆ myEdgeToFill

TopoDS_Edge TopOpeBRepBuild_Builder::myEdgeToFill
protected

◆ myEmptyAS

TCollection_AsciiString TopOpeBRepBuild_Builder::myEmptyAS
protected

◆ myEmptyShapeList

NCollection_List<TopoDS_Shape> TopOpeBRepBuild_Builder::myEmptyShapeList
protected

◆ myESplits

NCollection_DataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher> TopOpeBRepBuild_Builder::myESplits
protected

◆ myFaceAvoid

NCollection_List<TopoDS_Shape> TopOpeBRepBuild_Builder::myFaceAvoid
protected

◆ myFaceReference

TopoDS_Face TopOpeBRepBuild_Builder::myFaceReference
protected

◆ myFaceToFill

TopoDS_Face TopOpeBRepBuild_Builder::myFaceToFill
protected

◆ myFSplits

NCollection_DataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher> TopOpeBRepBuild_Builder::myFSplits
protected

◆ myIsKPart

int TopOpeBRepBuild_Builder::myIsKPart
protected

◆ myKPMAPf1f2

NCollection_DataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher> TopOpeBRepBuild_Builder::myKPMAPf1f2
protected

◆ myListOfEdge

NCollection_List<TopoDS_Shape> TopOpeBRepBuild_Builder::myListOfEdge
protected

◆ myListOfFace

NCollection_List<TopoDS_Shape> TopOpeBRepBuild_Builder::myListOfFace
protected

◆ myListOfSolid

NCollection_List<TopoDS_Shape> TopOpeBRepBuild_Builder::myListOfSolid
protected

◆ myMAP1

NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher> TopOpeBRepBuild_Builder::myMAP1
protected

◆ myMAP2

NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher> TopOpeBRepBuild_Builder::myMAP2
protected

◆ myMemoSplit

NCollection_Map<TopoDS_Shape, TopTools_ShapeMapHasher> TopOpeBRepBuild_Builder::myMemoSplit
protected

◆ myMergedIN

◆ myMergedON

◆ myMergedOUT

◆ myNewEdges

NCollection_DataMap<int, NCollection_List<TopoDS_Shape> > TopOpeBRepBuild_Builder::myNewEdges
protected

◆ myNewFaces

occ::handle<NCollection_HArray1<NCollection_List<TopoDS_Shape> > > TopOpeBRepBuild_Builder::myNewFaces
protected

◆ myNewVertices

occ::handle<NCollection_HArray1<TopoDS_Shape> > TopOpeBRepBuild_Builder::myNewVertices
protected

◆ myONElemMap

NCollection_IndexedMap<TopoDS_Shape> TopOpeBRepBuild_Builder::myONElemMap
protected

◆ myONFacesMap

NCollection_IndexedDataMap<TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher> TopOpeBRepBuild_Builder::myONFacesMap
protected

◆ myProcessON

bool TopOpeBRepBuild_Builder::myProcessON
protected

◆ mySection

NCollection_List<TopoDS_Shape> TopOpeBRepBuild_Builder::mySection
protected

◆ mySectionDone

bool TopOpeBRepBuild_Builder::mySectionDone
protected

◆ myShape1

TopoDS_Shape TopOpeBRepBuild_Builder::myShape1
protected

◆ myShape2

TopoDS_Shape TopOpeBRepBuild_Builder::myShape2
protected

◆ myShapeClassifier

TopOpeBRepTool_ShapeClassifier TopOpeBRepBuild_Builder::myShapeClassifier
protected

◆ mySHASETindex

int TopOpeBRepBuild_Builder::mySHASETindex
protected

◆ mySolidReference

TopoDS_Solid TopOpeBRepBuild_Builder::mySolidReference
protected

◆ mySolidToFill

TopoDS_Solid TopOpeBRepBuild_Builder::mySolidToFill
protected

◆ mySplitIN

◆ mySplitON

◆ mySplitOUT

◆ mySplitSectionEdgesDone

bool TopOpeBRepBuild_Builder::mySplitSectionEdgesDone
protected

◆ myState1

TopAbs_State TopOpeBRepBuild_Builder::myState1
protected

◆ myState2

TopAbs_State TopOpeBRepBuild_Builder::myState2
protected

◆ myVertexAvoid

NCollection_List<TopoDS_Shape> TopOpeBRepBuild_Builder::myVertexAvoid
protected

The documentation for this class was generated from the following file: