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

ModelingAlgorithms
TKBool
BRepAlgo


BRepAlgo_DSAccess Class Reference

#include <BRepAlgo_DSAccess.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepAlgo_DSAccess ()
Standard_EXPORT void Init ()
 Purge la structure de donnée interne, y compris les
Shapes de Load().
.
Standard_EXPORT void Load (const TopoDS_Shape &S)
 Charge le shape dans la SD.

.
Standard_EXPORT void Load (TopoDS_Shape &S1, TopoDS_Shape &S2)
 Charge les deux shapes dans la SD sans les intersecter.
.
Standard_EXPORT void Intersect ()
 Intersecte les deux shapes en entrée et charge la SD avec
leur intersection. Clear le TopOpeBRepBuild_HBuilder si
besoin
.
Standard_EXPORT void Intersect (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Intersecte les faces contenues dans les deux shapes données
et charge la SD avec. Clear le TopOpeBRepBuild_HBuilder
si besoin
.
Standard_EXPORT void SameDomain (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Cette méthode fait la même chose que la précédente,
en plus rapide. Il n'y a pas d'intersection face/face 3D.
Les faces ont le même support(surface). Pas de test de
tangence (ce qui explique qu'elle soit plus rapide).
Intersecte en 2d les faces tangentes F1 et F2.
.
Standard_EXPORT const TopTools_ListOfShape & GetSectionEdgeSet (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 retourne les compounds d'Edge connexe de section qui
contiennent les sections entre les faces contenu dans
S1 et S2.
return une list de Shape vide si S1 ou S2 ne contiennent
pas de face.
appelle GetSectionEdgeSet() si ce n'est pas déjà fait

Standard_EXPORT const TopTools_ListOfShape & GetSectionEdgeSet ()
 return tous les compounds d'edges connexes de section
contenu dans la DS

Standard_EXPORT Standard_Boolean IsWire (const TopoDS_Shape &Compound)
 NYI
.
Standard_EXPORT const TopoDS_Shape & Wire (const TopoDS_Shape &Compound)
 NYI
.
Standard_EXPORT const TopTools_ListOfShape & SectionVertex (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 NYI
return le vertex de section qui contient la section
entre la face S1 et l'edge S2 (return un Shape vide
si S1 n'est pas une face ou si S2 n'est pas une edge)
.
Standard_EXPORT void SuppressEdgeSet (const TopoDS_Shape &Compound)
 Invalider une ligne de section complète. Ensemble
d'Edge connexes par Vertex. Peut-etre un Wire. Peut
etre un ensemble d'Edge connexe ne formant pas un
Wire standard.
.
Standard_EXPORT void ChangeEdgeSet (const TopoDS_Shape &Old, const TopoDS_Shape &New)
 Modifie une ligne de section. <new> -- doit etre un
Ensemble d'Edge connexes par Vertex. -- Peut-etre un
Wire. Peut etre un ensemble d'Edge -- connexe ne
formant pas un -- Wire standard. <new> doit etre un
sous Ensemble de <old>


.
Standard_EXPORT void SuppressSectionVertex (const TopoDS_Vertex &V)
 NYI
Invalider un Vertex de section. Le Vertex doit avoir
été reconstruit à partir d'un point.
.
Standard_EXPORT const TopoDS_Shape & Merge (const TopAbs_State state1, const TopAbs_State state2)
Standard_EXPORT const TopoDS_Shape & Merge (const TopAbs_State state1)
Standard_EXPORT const TopoDS_Shape & Propagate (const TopAbs_State what, const TopoDS_Shape &FromShape, const TopoDS_Shape &LoadShape)
 NYI Propagation d'un état en partant du shape
FromShape = edge ou vertex de section, face ou
Coumpound de section. LoadShape est soit S1,
soit S2 (voir les méthodes Load). Propagation à
partir de FromShape, sur les états <what> de LoadShape.
Return un Wire en 2d, un Shell en 3d.
Specs incompletes, a redefinir pour les typologies
correpsondantes de <fromshape> et du resultat :
exemple : FromShape resultat
vertex wire (ou edge)
edge de section face ( ou shell)
compound de section shell
... ...
.
Standard_EXPORT const TopoDS_Shape & PropagateFromSection (const TopoDS_Shape &SectionShape)
 SectionShape est soit un Vertex de section(NYI), soit
une Edge de section. Propagation des shapes
de section en partant de SectionShape.
return un Compound de section.
.
Standard_EXPORT const TopTools_ListOfShape & Modified (const TopoDS_Shape &S)
 Returns the list of the descendant shapes of the shape <s>.
.
Standard_EXPORT Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns the fact that the shape <s> has been deleted or not
by the boolean operation.
.
Standard_EXPORT BRepAlgo_CheckStatus Check ()
 NYI
cohérence de la Structure de donnée interne.
.
Standard_EXPORT const Handle_TopOpeBRepDS_HDataStructure & DS () const
Standard_EXPORT Handle_TopOpeBRepDS_HDataStructure & ChangeDS ()
Standard_EXPORT const Handle_TopOpeBRepBuild_HBuilder & Builder () const
Standard_EXPORT Handle_TopOpeBRepBuild_HBuilder & ChangeBuilder ()

Private Member Functions

Standard_EXPORT void Suppress (const TopoDS_Shape &Compound, const TopoDS_Shape &KeepComp)
Standard_EXPORT void RemoveEdgeInterferences (const Standard_Integer iF1, const Standard_Integer iF2, const Standard_Integer iCurve)
Standard_EXPORT void RemoveEdgeInterferences (const Standard_Integer iE1, const Standard_Integer iE2, const TopoDS_Shape &SectEdge)
Standard_EXPORT void RemoveFaceInterferences (const Standard_Integer iF1, const Standard_Integer iF2, const Standard_Integer iE1, const Standard_Integer iE2)
Standard_EXPORT void RemoveFaceInterferences (const Standard_Integer iF1, const Standard_Integer iF2, const Standard_Integer iCurve)
Standard_EXPORT void RemoveEdgeInterferencesFromFace (const Standard_Integer iF1, const Standard_Integer iF2, const Standard_Integer ipv1, const TopOpeBRepDS_Kind kind1, const Standard_Integer ipv2, const TopOpeBRepDS_Kind kind2)
Standard_EXPORT void RemoveEdgeFromFace (const Standard_Integer iF, const Standard_Integer iV)
Standard_EXPORT void PntVtxOnCurve (const Standard_Integer iCurve, Standard_Integer &ipv1, TopOpeBRepDS_Kind &ik1, Standard_Integer &ipv2, TopOpeBRepDS_Kind &ik2)
Standard_EXPORT void PntVtxOnSectEdge (const TopoDS_Shape &SectEdge, Standard_Integer &ipv1, TopOpeBRepDS_Kind &ik1, Standard_Integer &ipv2, TopOpeBRepDS_Kind &ik2)
Standard_EXPORT void RemoveEdgeSameDomain (const Standard_Integer iE1, const Standard_Integer iE2)
Standard_EXPORT void RemoveFaceSameDomain (const TopoDS_Shape &C)
Standard_EXPORT TColStd_ListOfInteger & FindGoodFace (const Standard_Integer iE, Standard_Integer &iF1, Standard_Boolean &b)
Standard_EXPORT void RemoveFaceSameDomain (const Standard_Integer iF1, const Standard_Integer iF2)
Standard_EXPORT Standard_Boolean GoodInterf (const TopoDS_Shape &SectEdge, const TopOpeBRepDS_Kind kind, const Standard_Integer iPointVertex)

Private Attributes

Handle_TopOpeBRepDS_HDataStructure myHDS
TopOpeBRep_DSFiller myDSFiller
Handle_TopOpeBRepBuild_HBuilder myHB
Handle_BRepAlgo_EdgeConnector myEC
TopoDS_Shape myS1
TopoDS_Shape myS2
TopAbs_State myState1
TopAbs_State myState2
TopTools_ListOfShape myListOfCompoundOfEdgeConnected
TopTools_ListOfShape myCurrentList
Standard_Boolean myRecomputeBuilderIsDone
Standard_Boolean myGetSectionIsDone
TopoDS_Shape myResultShape
TopoDS_Wire myWire
TopTools_ListOfShape myListOfVertex
TopTools_ListOfShape myModified
TopoDS_Shape myEmptyShape
TopTools_ListOfShape myEmptyListOfShape
TColStd_ListOfInteger myEmptyListOfInteger
TopTools_DataMapOfShapeShape myCompoundWireMap
TColStd_SetOfInteger mySetOfKeepPoint


Constructor & Destructor Documentation

Standard_EXPORT BRepAlgo_DSAccess::BRepAlgo_DSAccess  ) 
 


Member Function Documentation

Standard_EXPORT const Handle_TopOpeBRepBuild_HBuilder& BRepAlgo_DSAccess::Builder  )  const
 

Standard_EXPORT Handle_TopOpeBRepBuild_HBuilder& BRepAlgo_DSAccess::ChangeBuilder  ) 
 

Standard_EXPORT Handle_TopOpeBRepDS_HDataStructure& BRepAlgo_DSAccess::ChangeDS  ) 
 

Standard_EXPORT void BRepAlgo_DSAccess::ChangeEdgeSet const TopoDS_Shape &  Old,
const TopoDS_Shape &  New
 

Standard_EXPORT BRepAlgo_CheckStatus BRepAlgo_DSAccess::Check  ) 
 

Standard_EXPORT const Handle_TopOpeBRepDS_HDataStructure& BRepAlgo_DSAccess::DS  )  const
 

Standard_EXPORT TColStd_ListOfInteger& BRepAlgo_DSAccess::FindGoodFace const Standard_Integer  iE,
Standard_Integer &  iF1,
Standard_Boolean b
[private]
 

Standard_EXPORT const TopTools_ListOfShape& BRepAlgo_DSAccess::GetSectionEdgeSet  ) 
 

Standard_EXPORT const TopTools_ListOfShape& BRepAlgo_DSAccess::GetSectionEdgeSet const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2
 

Standard_EXPORT Standard_Boolean BRepAlgo_DSAccess::GoodInterf const TopoDS_Shape &  SectEdge,
const TopOpeBRepDS_Kind  kind,
const Standard_Integer  iPointVertex
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::Init  ) 
 

Standard_EXPORT void BRepAlgo_DSAccess::Intersect const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2
 

Standard_EXPORT void BRepAlgo_DSAccess::Intersect  ) 
 

Standard_EXPORT Standard_Boolean BRepAlgo_DSAccess::IsDeleted const TopoDS_Shape &  S  ) 
 

Standard_EXPORT Standard_Boolean BRepAlgo_DSAccess::IsWire const TopoDS_Shape &  Compound  ) 
 

Standard_EXPORT void BRepAlgo_DSAccess::Load TopoDS_Shape &  S1,
TopoDS_Shape &  S2
 

Standard_EXPORT void BRepAlgo_DSAccess::Load const TopoDS_Shape &  S  ) 
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_DSAccess::Merge const TopAbs_State  state1  ) 
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_DSAccess::Merge const TopAbs_State  state1,
const TopAbs_State  state2
 

Standard_EXPORT const TopTools_ListOfShape& BRepAlgo_DSAccess::Modified const TopoDS_Shape &  S  ) 
 

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

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

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

Standard_EXPORT void BRepAlgo_DSAccess::PntVtxOnCurve const Standard_Integer  iCurve,
Standard_Integer &  ipv1,
TopOpeBRepDS_Kind ik1,
Standard_Integer &  ipv2,
TopOpeBRepDS_Kind ik2
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::PntVtxOnSectEdge const TopoDS_Shape &  SectEdge,
Standard_Integer &  ipv1,
TopOpeBRepDS_Kind ik1,
Standard_Integer &  ipv2,
TopOpeBRepDS_Kind ik2
[private]
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_DSAccess::Propagate const TopAbs_State  what,
const TopoDS_Shape &  FromShape,
const TopoDS_Shape &  LoadShape
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_DSAccess::PropagateFromSection const TopoDS_Shape &  SectionShape  ) 
 

Standard_EXPORT void BRepAlgo_DSAccess::RemoveEdgeFromFace const Standard_Integer  iF,
const Standard_Integer  iV
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::RemoveEdgeInterferences const Standard_Integer  iE1,
const Standard_Integer  iE2,
const TopoDS_Shape &  SectEdge
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::RemoveEdgeInterferences const Standard_Integer  iF1,
const Standard_Integer  iF2,
const Standard_Integer  iCurve
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::RemoveEdgeInterferencesFromFace const Standard_Integer  iF1,
const Standard_Integer  iF2,
const Standard_Integer  ipv1,
const TopOpeBRepDS_Kind  kind1,
const Standard_Integer  ipv2,
const TopOpeBRepDS_Kind  kind2
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::RemoveEdgeSameDomain const Standard_Integer  iE1,
const Standard_Integer  iE2
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::RemoveFaceInterferences const Standard_Integer  iF1,
const Standard_Integer  iF2,
const Standard_Integer  iCurve
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::RemoveFaceInterferences const Standard_Integer  iF1,
const Standard_Integer  iF2,
const Standard_Integer  iE1,
const Standard_Integer  iE2
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::RemoveFaceSameDomain const Standard_Integer  iF1,
const Standard_Integer  iF2
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::RemoveFaceSameDomain const TopoDS_Shape &  C  )  [private]
 

Standard_EXPORT void BRepAlgo_DSAccess::SameDomain const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2
 

Standard_EXPORT const TopTools_ListOfShape& BRepAlgo_DSAccess::SectionVertex const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2
 

Standard_EXPORT void BRepAlgo_DSAccess::Suppress const TopoDS_Shape &  Compound,
const TopoDS_Shape &  KeepComp
[private]
 

Standard_EXPORT void BRepAlgo_DSAccess::SuppressEdgeSet const TopoDS_Shape &  Compound  ) 
 

Standard_EXPORT void BRepAlgo_DSAccess::SuppressSectionVertex const TopoDS_Vertex &  V  ) 
 

Standard_EXPORT const TopoDS_Shape& BRepAlgo_DSAccess::Wire const TopoDS_Shape &  Compound  ) 
 


Field Documentation

TopTools_DataMapOfShapeShape BRepAlgo_DSAccess::myCompoundWireMap [private]
 

TopTools_ListOfShape BRepAlgo_DSAccess::myCurrentList [private]
 

TopOpeBRep_DSFiller BRepAlgo_DSAccess::myDSFiller [private]
 

Handle_BRepAlgo_EdgeConnector BRepAlgo_DSAccess::myEC [private]
 

TColStd_ListOfInteger BRepAlgo_DSAccess::myEmptyListOfInteger [private]
 

TopTools_ListOfShape BRepAlgo_DSAccess::myEmptyListOfShape [private]
 

TopoDS_Shape BRepAlgo_DSAccess::myEmptyShape [private]
 

Standard_Boolean BRepAlgo_DSAccess::myGetSectionIsDone [private]
 

Handle_TopOpeBRepBuild_HBuilder BRepAlgo_DSAccess::myHB [private]
 

Handle_TopOpeBRepDS_HDataStructure BRepAlgo_DSAccess::myHDS [private]
 

TopTools_ListOfShape BRepAlgo_DSAccess::myListOfCompoundOfEdgeConnected [private]
 

TopTools_ListOfShape BRepAlgo_DSAccess::myListOfVertex [private]
 

TopTools_ListOfShape BRepAlgo_DSAccess::myModified [private]
 

Standard_Boolean BRepAlgo_DSAccess::myRecomputeBuilderIsDone [private]
 

TopoDS_Shape BRepAlgo_DSAccess::myResultShape [private]
 

TopoDS_Shape BRepAlgo_DSAccess::myS1 [private]
 

TopoDS_Shape BRepAlgo_DSAccess::myS2 [private]
 

TColStd_SetOfInteger BRepAlgo_DSAccess::mySetOfKeepPoint [private]
 

TopAbs_State BRepAlgo_DSAccess::myState1 [private]
 

TopAbs_State BRepAlgo_DSAccess::myState2 [private]
 

TopoDS_Wire BRepAlgo_DSAccess::myWire [private]
 


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