mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-11 21:50:34 +05:00
* Fixed - Unnecessary functions exported from OCC Topology Explorer code
This commit is contained in:
parent
62c877a83d
commit
73451bace6
@ -69,10 +69,10 @@ public:
|
||||
}
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT static void CompletPart2d(const Handle(BRepAlgo_AsDes)& AsDes,const TopoDS_Face& F,const TopTools_MapOfShape& NewEdges) ;
|
||||
Standard_EXPORT static TopoDS_Vertex FindEndVertex(const TopTools_ListOfShape& VertList,const Standard_Real f,const Standard_Real l,const TopoDS_Edge& E,Standard_Boolean& First,Standard_Real& DU) ;
|
||||
Standard_EXPORT static TopoDS_Vertex AddVonE(const TopoDS_Vertex& V,const TopoDS_Edge& E1,const TopoDS_Edge& E2,const Handle(BRepAlgo_AsDes)& AsDes,const TopoDS_Face& F) ;
|
||||
Standard_EXPORT static Standard_Real GetTolerance(const TopoDS_Vertex& theV,const Standard_Real theU,const TopoDS_Edge& theE,const Handle(BRepAlgo_AsDes)& theAsDes) ;
|
||||
static void CompletPart2d(const Handle(BRepAlgo_AsDes)& AsDes,const TopoDS_Face& F,const TopTools_MapOfShape& NewEdges) ;
|
||||
static TopoDS_Vertex FindEndVertex(const TopTools_ListOfShape& VertList,const Standard_Real f,const Standard_Real l,const TopoDS_Edge& E,Standard_Boolean& First,Standard_Real& DU) ;
|
||||
static TopoDS_Vertex AddVonE(const TopoDS_Vertex& V,const TopoDS_Edge& E1,const TopoDS_Edge& E2,const Handle(BRepAlgo_AsDes)& AsDes,const TopoDS_Face& F) ;
|
||||
static Standard_Real GetTolerance(const TopoDS_Vertex& theV,const Standard_Real theU,const TopoDS_Edge& theE,const Handle(BRepAlgo_AsDes)& theAsDes) ;
|
||||
|
||||
|
||||
|
||||
|
@ -77,23 +77,23 @@ public:
|
||||
}
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT Partition_Inter3d();
|
||||
Standard_EXPORT Partition_Inter3d(const Handle(BRepAlgo_AsDes)& AsDes);
|
||||
Standard_EXPORT void CompletPart3d(const TopTools_ListOfShape& SetOfFaces1,const TopTools_DataMapOfShapeShape& FaceShapeMap) ;
|
||||
Standard_EXPORT void FacesPartition(const TopoDS_Face& F1,const TopoDS_Face& F2) ;
|
||||
Standard_EXPORT Standard_Boolean IsDone(const TopoDS_Face& F1,const TopoDS_Face& F2) const;
|
||||
Standard_EXPORT TopTools_MapOfShape& TouchedFaces() ;
|
||||
Standard_EXPORT Handle_BRepAlgo_AsDes AsDes() const;
|
||||
Standard_EXPORT TopTools_MapOfShape& NewEdges() ;
|
||||
Standard_EXPORT Standard_Boolean HasSameDomainF(const TopoDS_Shape& F) const;
|
||||
Standard_EXPORT Standard_Boolean IsSameDomainF(const TopoDS_Shape& F1,const TopoDS_Shape& F2) const;
|
||||
Standard_EXPORT const TopTools_ListOfShape& SameDomain(const TopoDS_Face& F) const;
|
||||
Standard_EXPORT TopoDS_Vertex ReplaceSameDomainV(const TopoDS_Vertex& V,const TopoDS_Edge& E) const;
|
||||
Standard_EXPORT Handle_BRepAlgo_AsDes SectionEdgesAD() const;
|
||||
Standard_EXPORT Standard_Boolean IsSectionEdge(const TopoDS_Edge& E) const;
|
||||
Standard_EXPORT Standard_Boolean HasSectionEdge(const TopoDS_Face& F) const;
|
||||
Standard_EXPORT Standard_Boolean IsSplitOn(const TopoDS_Edge& NewE,const TopoDS_Edge& OldE,const TopoDS_Face& F) const;
|
||||
Standard_EXPORT const TopTools_ListOfShape& SectionEdgeFaces(const TopoDS_Edge& SecE) const;
|
||||
Partition_Inter3d();
|
||||
Partition_Inter3d(const Handle(BRepAlgo_AsDes)& AsDes);
|
||||
void CompletPart3d(const TopTools_ListOfShape& SetOfFaces1,const TopTools_DataMapOfShapeShape& FaceShapeMap) ;
|
||||
void FacesPartition(const TopoDS_Face& F1,const TopoDS_Face& F2) ;
|
||||
Standard_Boolean IsDone(const TopoDS_Face& F1,const TopoDS_Face& F2) const;
|
||||
TopTools_MapOfShape& TouchedFaces() ;
|
||||
Handle_BRepAlgo_AsDes AsDes() const;
|
||||
TopTools_MapOfShape& NewEdges() ;
|
||||
Standard_Boolean HasSameDomainF(const TopoDS_Shape& F) const;
|
||||
Standard_Boolean IsSameDomainF(const TopoDS_Shape& F1,const TopoDS_Shape& F2) const;
|
||||
const TopTools_ListOfShape& SameDomain(const TopoDS_Face& F) const;
|
||||
TopoDS_Vertex ReplaceSameDomainV(const TopoDS_Vertex& V,const TopoDS_Edge& E) const;
|
||||
Handle_BRepAlgo_AsDes SectionEdgesAD() const;
|
||||
Standard_Boolean IsSectionEdge(const TopoDS_Edge& E) const;
|
||||
Standard_Boolean HasSectionEdge(const TopoDS_Face& F) const;
|
||||
Standard_Boolean IsSplitOn(const TopoDS_Edge& NewE,const TopoDS_Edge& OldE,const TopoDS_Face& F) const;
|
||||
const TopTools_ListOfShape& SectionEdgeFaces(const TopoDS_Edge& SecE) const;
|
||||
|
||||
|
||||
|
||||
@ -113,21 +113,21 @@ private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
Standard_EXPORT void Inter3D(const TopoDS_Face& F1,const TopoDS_Face& F2,TopTools_ListOfShape& LInt) ;
|
||||
Standard_EXPORT void StorePart3d(const TopoDS_Face& F1,const TopoDS_Face& F2,const TopTools_ListOfShape& LInt1) ;
|
||||
Standard_EXPORT void SetDone(const TopoDS_Face& F1,const TopoDS_Face& F2) ;
|
||||
Standard_EXPORT void Affiche(const TopTools_ListOfShape& SetOfFaces) const;
|
||||
void Inter3D(const TopoDS_Face& F1,const TopoDS_Face& F2,TopTools_ListOfShape& LInt) ;
|
||||
void StorePart3d(const TopoDS_Face& F1,const TopoDS_Face& F2,const TopTools_ListOfShape& LInt1) ;
|
||||
void SetDone(const TopoDS_Face& F1,const TopoDS_Face& F2) ;
|
||||
void Affiche(const TopTools_ListOfShape& SetOfFaces) const;
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
Handle_BRepAlgo_AsDes myAsDes;
|
||||
TopTools_DataMapOfShapeListOfShape myDone;
|
||||
TopTools_MapOfShape myTouched;
|
||||
TopTools_MapOfShape myNewEdges;
|
||||
Handle_BRepAlgo_AsDes mySectionEdgesAD;
|
||||
TopTools_DataMapOfShapeListOfShape mySameDomainFM;
|
||||
TopTools_DataMapOfShapeShape mySameDomainVM;
|
||||
Handle_BRepAlgo_AsDes myAsDes;
|
||||
TopTools_DataMapOfShapeListOfShape myDone;
|
||||
TopTools_MapOfShape myTouched;
|
||||
TopTools_MapOfShape myNewEdges;
|
||||
Handle_BRepAlgo_AsDes mySectionEdgesAD;
|
||||
TopTools_DataMapOfShapeListOfShape mySameDomainFM;
|
||||
TopTools_DataMapOfShapeShape mySameDomainVM;
|
||||
|
||||
|
||||
};
|
||||
|
@ -64,19 +64,19 @@ public:
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT Partition_Loop();
|
||||
Standard_EXPORT void Init(const TopoDS_Face& F) ;
|
||||
Standard_EXPORT void AddConstEdge(const TopoDS_Edge& E) ;
|
||||
Standard_EXPORT void Perform() ;
|
||||
Standard_EXPORT const TopTools_ListOfShape& NewWires() const;
|
||||
Standard_EXPORT void WiresToFaces() ;
|
||||
Standard_EXPORT const TopTools_ListOfShape& NewFaces() const;
|
||||
Partition_Loop();
|
||||
void Init(const TopoDS_Face& F) ;
|
||||
void AddConstEdge(const TopoDS_Edge& E) ;
|
||||
void Perform() ;
|
||||
const TopTools_ListOfShape& NewWires() const;
|
||||
void WiresToFaces() ;
|
||||
const TopTools_ListOfShape& NewFaces() const;
|
||||
|
||||
|
||||
|
||||
@ -99,10 +99,10 @@ private:
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
TopoDS_Face myFace;
|
||||
TopTools_ListOfShape myConstEdges;
|
||||
TopTools_ListOfShape myNewWires;
|
||||
TopTools_ListOfShape myNewFaces;
|
||||
TopoDS_Face myFace;
|
||||
TopTools_ListOfShape myConstEdges;
|
||||
TopTools_ListOfShape myNewWires;
|
||||
TopTools_ListOfShape myNewFaces;
|
||||
|
||||
|
||||
};
|
||||
|
@ -53,14 +53,14 @@ public:
|
||||
}
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT Partition_Loop2d();
|
||||
Standard_EXPORT void Init(const TopoDS_Face& F) ;
|
||||
Standard_EXPORT void AddConstEdge(const TopoDS_Edge& E) ;
|
||||
Standard_EXPORT void AddSectionEdge(const TopoDS_Edge& E) ;
|
||||
Standard_EXPORT void Perform() ;
|
||||
Standard_EXPORT const TopTools_ListOfShape& NewWires() const;
|
||||
Standard_EXPORT void WiresToFaces(const BRepAlgo_Image& EdgeImage) ;
|
||||
Standard_EXPORT const TopTools_ListOfShape& NewFaces() const;
|
||||
Partition_Loop2d();
|
||||
void Init(const TopoDS_Face& F) ;
|
||||
void AddConstEdge(const TopoDS_Edge& E) ;
|
||||
void AddSectionEdge(const TopoDS_Edge& E) ;
|
||||
void Perform() ;
|
||||
const TopTools_ListOfShape& NewWires() const;
|
||||
void WiresToFaces(const BRepAlgo_Image& EdgeImage) ;
|
||||
const TopTools_ListOfShape& NewFaces() const;
|
||||
|
||||
|
||||
|
||||
@ -84,13 +84,13 @@ private:
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
TopoDS_Face myFace;
|
||||
TopAbs_Orientation myFaceOri;
|
||||
TopTools_ListOfShape myConstEdges;
|
||||
TopTools_ListOfShape myNewWires;
|
||||
TopTools_ListOfShape myNewFaces;
|
||||
TopTools_ListOfShape myInternalWL;
|
||||
TopTools_MapOfShape mySectionEdges;
|
||||
TopoDS_Face myFace;
|
||||
TopAbs_Orientation myFaceOri;
|
||||
TopTools_ListOfShape myConstEdges;
|
||||
TopTools_ListOfShape myNewWires;
|
||||
TopTools_ListOfShape myNewFaces;
|
||||
TopTools_ListOfShape myInternalWL;
|
||||
TopTools_MapOfShape mySectionEdges;
|
||||
|
||||
|
||||
};
|
||||
|
@ -55,12 +55,12 @@ public:
|
||||
}
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT Partition_Loop3d();
|
||||
Standard_EXPORT void AddConstFaces(const TopoDS_Shape& S) ;
|
||||
Standard_EXPORT void AddSectionFaces(const TopoDS_Shape& S) ;
|
||||
Standard_EXPORT const TopTools_ListOfShape& MakeShells(const TopTools_MapOfOrientedShape& AvoidFacesMap) ;
|
||||
Standard_EXPORT static Standard_Boolean IsInside(const TopoDS_Edge& E,const TopoDS_Face& F1,const TopoDS_Face& F2,const Standard_Boolean CountDot,Standard_Real& Dot,Standard_Boolean& GoodOri) ;
|
||||
Standard_EXPORT static gp_Vec Normal(const TopoDS_Edge& E,const TopoDS_Face& F) ;
|
||||
Partition_Loop3d();
|
||||
void AddConstFaces(const TopoDS_Shape& S) ;
|
||||
void AddSectionFaces(const TopoDS_Shape& S) ;
|
||||
const TopTools_ListOfShape& MakeShells(const TopTools_MapOfOrientedShape& AvoidFacesMap) ;
|
||||
static Standard_Boolean IsInside(const TopoDS_Edge& E,const TopoDS_Face& F1,const TopoDS_Face& F2,const Standard_Boolean CountDot,Standard_Real& Dot,Standard_Boolean& GoodOri) ;
|
||||
static gp_Vec Normal(const TopoDS_Edge& E,const TopoDS_Face& F) ;
|
||||
|
||||
|
||||
|
||||
@ -84,9 +84,9 @@ private:
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
TopTools_ListOfShape myNewShells;
|
||||
TopTools_ListOfShape myFaces;
|
||||
TopTools_IndexedDataMapOfShapeListOfShape myEFMap;
|
||||
TopTools_ListOfShape myNewShells;
|
||||
TopTools_ListOfShape myFaces;
|
||||
TopTools_IndexedDataMapOfShapeListOfShape myEFMap;
|
||||
|
||||
|
||||
};
|
||||
|
@ -74,14 +74,14 @@ public:
|
||||
}
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT Partition_Spliter();
|
||||
Standard_EXPORT void AddShape(const TopoDS_Shape& S) ;
|
||||
Standard_EXPORT void AddTool(const TopoDS_Shape& S) ;
|
||||
Standard_EXPORT void Compute(const TopAbs_ShapeEnum Limit = TopAbs_SHAPE) ;
|
||||
Standard_EXPORT void KeepShapesInside(const TopoDS_Shape& S) ;
|
||||
Standard_EXPORT void RemoveShapesInside(const TopoDS_Shape& S) ;
|
||||
Standard_EXPORT TopoDS_Shape Shape() const;
|
||||
Standard_EXPORT void Clear() ;
|
||||
Partition_Spliter();
|
||||
void AddShape(const TopoDS_Shape& S) ;
|
||||
void AddTool(const TopoDS_Shape& S) ;
|
||||
void Compute(const TopAbs_ShapeEnum Limit = TopAbs_SHAPE) ;
|
||||
void KeepShapesInside(const TopoDS_Shape& S) ;
|
||||
void RemoveShapesInside(const TopoDS_Shape& S) ;
|
||||
TopoDS_Shape Shape() const;
|
||||
void Clear() ;
|
||||
|
||||
|
||||
|
||||
@ -101,40 +101,40 @@ private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
Standard_EXPORT void MakeSolids(const TopoDS_Shape& Solid,TopTools_ListOfShape& Shells) ;
|
||||
Standard_EXPORT void MakeShells(const TopoDS_Shape& S,TopTools_ListOfShape& NS) ;
|
||||
Standard_EXPORT TopoDS_Shape MakeFaces(const TopoDS_Shape& S) ;
|
||||
Standard_EXPORT void MakeEdges(const TopoDS_Edge& E,const TopTools_ListOfShape& VOnE,TopTools_ListOfShape& NE) const;
|
||||
Standard_EXPORT TopoDS_Shape FindFacesInside(const TopoDS_Shape& S,const Standard_Boolean CheckClosed = Standard_False,const Standard_Boolean All = Standard_False) ;
|
||||
Standard_EXPORT Standard_Boolean CheckTool(const TopoDS_Shape& S) ;
|
||||
Standard_EXPORT void MergeEqualEdges(const TopTools_ListOfShape& LE) ;
|
||||
Standard_EXPORT static Standard_Boolean IsInside(const TopoDS_Shape& S1,const TopoDS_Shape& S2) ;
|
||||
Standard_EXPORT TopoDS_Shape GetOriginalShape(const TopoDS_Shape& aShape) const;
|
||||
Standard_EXPORT void FindToolsToReconstruct() ;
|
||||
void MakeSolids(const TopoDS_Shape& Solid,TopTools_ListOfShape& Shells) ;
|
||||
void MakeShells(const TopoDS_Shape& S,TopTools_ListOfShape& NS) ;
|
||||
TopoDS_Shape MakeFaces(const TopoDS_Shape& S) ;
|
||||
void MakeEdges(const TopoDS_Edge& E,const TopTools_ListOfShape& VOnE,TopTools_ListOfShape& NE) const;
|
||||
TopoDS_Shape FindFacesInside(const TopoDS_Shape& S,const Standard_Boolean CheckClosed = Standard_False,const Standard_Boolean All = Standard_False) ;
|
||||
Standard_Boolean CheckTool(const TopoDS_Shape& S) ;
|
||||
void MergeEqualEdges(const TopTools_ListOfShape& LE) ;
|
||||
static Standard_Boolean IsInside(const TopoDS_Shape& S1,const TopoDS_Shape& S2) ;
|
||||
TopoDS_Shape GetOriginalShape(const TopoDS_Shape& aShape) const;
|
||||
void FindToolsToReconstruct() ;
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
TopAbs_ShapeEnum myDoneStep;
|
||||
TopoDS_Compound myShape;
|
||||
BRep_Builder myBuilder;
|
||||
TopTools_ListOfShape myListShapes;
|
||||
TopTools_MapOfShape myMapFaces;
|
||||
TopTools_MapOfShape myMapTools;
|
||||
TopTools_MapOfShape myEqualEdges;
|
||||
TopTools_MapOfShape myNewSection;
|
||||
TopTools_MapOfShape myClosedShapes;
|
||||
TopTools_MapOfShape mySharedFaces;
|
||||
TopTools_MapOfShape myWrappingSolid;
|
||||
TopTools_DataMapOfShapeShape myFaceShapeMap;
|
||||
TopTools_DataMapOfShapeShape myInternalFaces;
|
||||
TopTools_DataMapOfShapeShape myIntNotClFaces;
|
||||
Handle_BRepAlgo_AsDes myAsDes;
|
||||
BRepAlgo_Image myImagesFaces;
|
||||
BRepAlgo_Image myImagesEdges;
|
||||
BRepAlgo_Image myImageShape;
|
||||
Partition_Inter3d myInter3d;
|
||||
TopTools_MapOfOrientedShape myAddedFacesMap;
|
||||
TopAbs_ShapeEnum myDoneStep;
|
||||
TopoDS_Compound myShape;
|
||||
BRep_Builder myBuilder;
|
||||
TopTools_ListOfShape myListShapes;
|
||||
TopTools_MapOfShape myMapFaces;
|
||||
TopTools_MapOfShape myMapTools;
|
||||
TopTools_MapOfShape myEqualEdges;
|
||||
TopTools_MapOfShape myNewSection;
|
||||
TopTools_MapOfShape myClosedShapes;
|
||||
TopTools_MapOfShape mySharedFaces;
|
||||
TopTools_MapOfShape myWrappingSolid;
|
||||
TopTools_DataMapOfShapeShape myFaceShapeMap;
|
||||
TopTools_DataMapOfShapeShape myInternalFaces;
|
||||
TopTools_DataMapOfShapeShape myIntNotClFaces;
|
||||
Handle_BRepAlgo_AsDes myAsDes;
|
||||
BRepAlgo_Image myImagesFaces;
|
||||
BRepAlgo_Image myImagesEdges;
|
||||
BRepAlgo_Image myImageShape;
|
||||
Partition_Inter3d myInter3d;
|
||||
TopTools_MapOfOrientedShape myAddedFacesMap;
|
||||
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user