OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBool
TopOpeBRep


TopOpeBRep_DSFiller Class Reference

Provides class methods to fill a datastructure
with results of intersections.

1. Use an Intersector to find pairs of
intersecting GeomShapes

2. For each pair fill the DataStructure using the
appropriate Filler.

3. Complete the DataStructure to record shapes to
rebuild (shells, wires )
.

#include <TopOpeBRep_DSFiller.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT TopOpeBRep_DSFiller ()
Standard_EXPORT void Destroy ()
Standard_EXPORT ~TopOpeBRep_DSFiller ()
Standard_EXPORT TopOpeBRepTool_PShapeClassifier PShapeClassifier () const
 return field myPShapeClassifier.
//! set field myPShapeClassifier.

Standard_EXPORT void Insert (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const Handle(TopOpeBRepDS_HDataStructure)&HDS, const Standard_Boolean orientFORWARD=Standard_True)
 Stores in <ds> the intersections of <s1> and <s2>.
if orientFORWARD = True
S FORWARD,REVERSED --> FORWARD
S EXTERNAL,INTERNAL --> EXTERNAL,INTERNAL
.
Standard_EXPORT void InsertIntersection (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const Handle(TopOpeBRepDS_HDataStructure)&HDS, const Standard_Boolean orientFORWARD=Standard_True)
 Stores in <ds> the intersections of <s1> and <s2>.
if orientFORWARD = True
S FORWAR,REVERSED --> FORWARD
S EXTERNAL,INTERNAL --> EXTERNAL,INTERNAL
.
Standard_EXPORT void Complete (const Handle(TopOpeBRepDS_HDataStructure)&HDS)
Standard_EXPORT void Insert2d (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const Handle(TopOpeBRepDS_HDataStructure)&HDS)
 Stores in <ds> the intersections of <s1> and <s2>.
S1 et S2 contain only SameDomain Face
.
Standard_EXPORT void InsertIntersection2d (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const Handle(TopOpeBRepDS_HDataStructure)&HDS)
 S1, S2 set of tangent face
lance les intersections 2d pour coder correctement
les faces SameDomain.
.
Standard_EXPORT Standard_Boolean IsMadeOf1d (const TopoDS_Shape &S) const
Standard_EXPORT Standard_Boolean IsContext1d (const TopoDS_Shape &S) const
Standard_EXPORT void Insert1d (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const TopoDS_Face &F1, const TopoDS_Face &F2, const Handle(TopOpeBRepDS_HDataStructure)&HDS, const Standard_Boolean orientFORWARD=Standard_False)
 Stores in <ds> the intersections of <s1> and <s2>.
S1 and S2 are edges or wires.
S1 edges have a 2d representation in face F1
S2 edges have a 2d representation in face F2
F1 is the face which surface is taken as reference
for 2d description of S1 and S2 edges.
if orientFORWARD = True
S FORWARD,REVERSED --> FORWARD
S EXTERNAL,INTERNAL --> EXTERNAL,INTERNAL
.
Standard_EXPORT TopOpeBRep_ShapeIntersectorChangeShapeIntersector ()
Standard_EXPORT TopOpeBRep_ShapeIntersector2dChangeShapeIntersector2d ()
Standard_EXPORT TopOpeBRep_FacesFillerChangeFacesFiller ()
Standard_EXPORT TopOpeBRep_EdgesFillerChangeEdgesFiller ()
Standard_EXPORT TopOpeBRep_FaceEdgeFillerChangeFaceEdgeFiller ()
Standard_EXPORT void GapFiller (const Handle(TopOpeBRepDS_HDataStructure)&HDS) const
Standard_EXPORT void CompleteDS (const Handle(TopOpeBRepDS_HDataStructure)&HDS) const
 Update the data structure with relevant
informations deduced from the intersections.

Shells containing an intersected face.
Wires containing an intersected edge.

.
Standard_EXPORT void Filter (const Handle(TopOpeBRepDS_HDataStructure)&HDS) const
Standard_EXPORT void Reducer (const Handle(TopOpeBRepDS_HDataStructure)&HDS) const
Standard_EXPORT void RemoveUnsharedGeometry (const Handle(TopOpeBRepDS_HDataStructure)&HDS)
Standard_EXPORT void Checker (const Handle(TopOpeBRepDS_HDataStructure)&HDS) const
Standard_EXPORT void CompleteDS2d (const Handle(TopOpeBRepDS_HDataStructure)&HDS) const
 Update the data structure with relevant
informations deduced from the intersections 2d.

Shells containing an intersected face.
Wires containing an intersected edge.

//! search for interference identity using edge connexity //NYI
.

Private Member Functions

Standard_EXPORT Standard_Boolean CheckInsert (const TopoDS_Shape &S1, const TopoDS_Shape &S2) const
Standard_EXPORT Standard_Boolean ClearShapeSameDomain (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const Handle(TopOpeBRepDS_HDataStructure)&HDS)

Private Attributes

TopOpeBRep_ShapeIntersector myShapeIntersector
TopOpeBRep_ShapeIntersector2d myShapeIntersector2d
TopOpeBRep_FacesFiller myFacesFiller
TopOpeBRep_EdgesFiller myEdgesFiller
TopOpeBRep_FaceEdgeFiller myFaceEdgeFiller
TopOpeBRepTool_PShapeClassifier myPShapeClassifier


Constructor & Destructor Documentation

Standard_EXPORT TopOpeBRep_DSFiller::TopOpeBRep_DSFiller  ) 
 

Standard_EXPORT TopOpeBRep_DSFiller::~TopOpeBRep_DSFiller  )  [inline]
 


Member Function Documentation

Standard_EXPORT TopOpeBRep_EdgesFiller& TopOpeBRep_DSFiller::ChangeEdgesFiller  ) 
 

Standard_EXPORT TopOpeBRep_FaceEdgeFiller& TopOpeBRep_DSFiller::ChangeFaceEdgeFiller  ) 
 

Standard_EXPORT TopOpeBRep_FacesFiller& TopOpeBRep_DSFiller::ChangeFacesFiller  ) 
 

Standard_EXPORT TopOpeBRep_ShapeIntersector& TopOpeBRep_DSFiller::ChangeShapeIntersector  ) 
 

Standard_EXPORT TopOpeBRep_ShapeIntersector2d& TopOpeBRep_DSFiller::ChangeShapeIntersector2d  ) 
 

Standard_EXPORT void TopOpeBRep_DSFiller::Checker const Handle(TopOpeBRepDS_HDataStructure)&  HDS  )  const
 

Standard_EXPORT Standard_Boolean TopOpeBRep_DSFiller::CheckInsert const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2
const [private]
 

Standard_EXPORT Standard_Boolean TopOpeBRep_DSFiller::ClearShapeSameDomain const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2,
const Handle(TopOpeBRepDS_HDataStructure)&  HDS
[private]
 

Standard_EXPORT void TopOpeBRep_DSFiller::Complete const Handle(TopOpeBRepDS_HDataStructure)&  HDS  ) 
 

Standard_EXPORT void TopOpeBRep_DSFiller::CompleteDS const Handle(TopOpeBRepDS_HDataStructure)&  HDS  )  const
 

Standard_EXPORT void TopOpeBRep_DSFiller::CompleteDS2d const Handle(TopOpeBRepDS_HDataStructure)&  HDS  )  const
 

Standard_EXPORT void TopOpeBRep_DSFiller::Destroy  ) 
 

Standard_EXPORT void TopOpeBRep_DSFiller::Filter const Handle(TopOpeBRepDS_HDataStructure)&  HDS  )  const
 

Standard_EXPORT void TopOpeBRep_DSFiller::GapFiller const Handle(TopOpeBRepDS_HDataStructure)&  HDS  )  const
 

Standard_EXPORT void TopOpeBRep_DSFiller::Insert const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2,
const Handle(TopOpeBRepDS_HDataStructure)&  HDS,
const Standard_Boolean  orientFORWARD = Standard_True
 

Standard_EXPORT void TopOpeBRep_DSFiller::Insert1d const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2,
const TopoDS_Face &  F1,
const TopoDS_Face &  F2,
const Handle(TopOpeBRepDS_HDataStructure)&  HDS,
const Standard_Boolean  orientFORWARD = Standard_False
 

Standard_EXPORT void TopOpeBRep_DSFiller::Insert2d const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2,
const Handle(TopOpeBRepDS_HDataStructure)&  HDS
 

Standard_EXPORT void TopOpeBRep_DSFiller::InsertIntersection const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2,
const Handle(TopOpeBRepDS_HDataStructure)&  HDS,
const Standard_Boolean  orientFORWARD = Standard_True
 

Standard_EXPORT void TopOpeBRep_DSFiller::InsertIntersection2d const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2,
const Handle(TopOpeBRepDS_HDataStructure)&  HDS
 

Standard_EXPORT Standard_Boolean TopOpeBRep_DSFiller::IsContext1d const TopoDS_Shape &  S  )  const
 

Standard_EXPORT Standard_Boolean TopOpeBRep_DSFiller::IsMadeOf1d const TopoDS_Shape &  S  )  const
 

void TopOpeBRep_DSFiller::operator delete void *  anAddress  )  [inline]
 

void* TopOpeBRep_DSFiller::operator new size_t  size  )  [inline]
 

void* TopOpeBRep_DSFiller::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT TopOpeBRepTool_PShapeClassifier TopOpeBRep_DSFiller::PShapeClassifier  )  const
 

Standard_EXPORT void TopOpeBRep_DSFiller::Reducer const Handle(TopOpeBRepDS_HDataStructure)&  HDS  )  const
 

Standard_EXPORT void TopOpeBRep_DSFiller::RemoveUnsharedGeometry const Handle(TopOpeBRepDS_HDataStructure)&  HDS  ) 
 


Field Documentation

TopOpeBRep_EdgesFiller TopOpeBRep_DSFiller::myEdgesFiller [private]
 

TopOpeBRep_FaceEdgeFiller TopOpeBRep_DSFiller::myFaceEdgeFiller [private]
 

TopOpeBRep_FacesFiller TopOpeBRep_DSFiller::myFacesFiller [private]
 

TopOpeBRepTool_PShapeClassifier TopOpeBRep_DSFiller::myPShapeClassifier [private]
 

TopOpeBRep_ShapeIntersector TopOpeBRep_DSFiller::myShapeIntersector [private]
 

TopOpeBRep_ShapeIntersector2d TopOpeBRep_DSFiller::myShapeIntersector2d [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:51 2008 for OpenCASCADE by  doxygen 1.4.1