Open CASCADE Technology  6.9.1
Public Member Functions
TopOpeBRepDS_DataStructure Class Reference

The DataStructure stores : More...

#include <TopOpeBRepDS_DataStructure.hxx>

Public Member Functions

 TopOpeBRepDS_DataStructure ()
 
void Init ()
 reset the data structure More...
 
Standard_Integer AddSurface (const TopOpeBRepDS_Surface &S)
 Insert a new surface. Returns the index. More...
 
void RemoveSurface (const Standard_Integer I)
 
Standard_Boolean KeepSurface (const Standard_Integer I) const
 
Standard_Boolean KeepSurface (TopOpeBRepDS_Surface &S) const
 
void ChangeKeepSurface (const Standard_Integer I, const Standard_Boolean FindKeep)
 
void ChangeKeepSurface (TopOpeBRepDS_Surface &S, const Standard_Boolean FindKeep)
 
Standard_Integer AddCurve (const TopOpeBRepDS_Curve &S)
 Insert a new curve. Returns the index. More...
 
void RemoveCurve (const Standard_Integer I)
 
Standard_Boolean KeepCurve (const Standard_Integer I) const
 
Standard_Boolean KeepCurve (const TopOpeBRepDS_Curve &C) const
 
void ChangeKeepCurve (const Standard_Integer I, const Standard_Boolean FindKeep)
 
void ChangeKeepCurve (TopOpeBRepDS_Curve &C, const Standard_Boolean FindKeep)
 
Standard_Integer AddPoint (const TopOpeBRepDS_Point &PDS)
 Insert a new point. Returns the index. More...
 
Standard_Integer AddPointSS (const TopOpeBRepDS_Point &PDS, const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Insert a new point. Returns the index. More...
 
void RemovePoint (const Standard_Integer I)
 
Standard_Boolean KeepPoint (const Standard_Integer I) const
 
Standard_Boolean KeepPoint (const TopOpeBRepDS_Point &P) const
 
void ChangeKeepPoint (const Standard_Integer I, const Standard_Boolean FindKeep)
 
void ChangeKeepPoint (TopOpeBRepDS_Point &P, const Standard_Boolean FindKeep)
 
Standard_Integer AddShape (const TopoDS_Shape &S)
 Insert a shape S. Returns the index. More...
 
Standard_Integer AddShape (const TopoDS_Shape &S, const Standard_Integer I)
 Insert a shape S which ancestor is I = 1 or 2. Returns the index. More...
 
Standard_Boolean KeepShape (const Standard_Integer I, const Standard_Boolean FindKeep=Standard_True) const
 
Standard_Boolean KeepShape (const TopoDS_Shape &S, const Standard_Boolean FindKeep=Standard_True) const
 
void ChangeKeepShape (const Standard_Integer I, const Standard_Boolean FindKeep)
 
void ChangeKeepShape (const TopoDS_Shape &S, const Standard_Boolean FindKeep)
 
void InitSectionEdges ()
 
Standard_Integer AddSectionEdge (const TopoDS_Edge &E)
 
const TopOpeBRepDS_ListOfInterferenceSurfaceInterferences (const Standard_Integer I) const
 
TopOpeBRepDS_ListOfInterferenceChangeSurfaceInterferences (const Standard_Integer I)
 
const TopOpeBRepDS_ListOfInterferenceCurveInterferences (const Standard_Integer I) const
 
TopOpeBRepDS_ListOfInterferenceChangeCurveInterferences (const Standard_Integer I)
 
const TopOpeBRepDS_ListOfInterferencePointInterferences (const Standard_Integer I) const
 
TopOpeBRepDS_ListOfInterferenceChangePointInterferences (const Standard_Integer I)
 
const TopOpeBRepDS_ListOfInterferenceShapeInterferences (const TopoDS_Shape &S, const Standard_Boolean FindKeep=Standard_True) const
 
TopOpeBRepDS_ListOfInterferenceChangeShapeInterferences (const TopoDS_Shape &S)
 
const TopOpeBRepDS_ListOfInterferenceShapeInterferences (const Standard_Integer I, const Standard_Boolean FindKeep=Standard_True) const
 
TopOpeBRepDS_ListOfInterferenceChangeShapeInterferences (const Standard_Integer I)
 
const TopTools_ListOfShapeShapeSameDomain (const TopoDS_Shape &S) const
 
TopTools_ListOfShapeChangeShapeSameDomain (const TopoDS_Shape &S)
 
const TopTools_ListOfShapeShapeSameDomain (const Standard_Integer I) const
 
TopTools_ListOfShapeChangeShapeSameDomain (const Standard_Integer I)
 
TopOpeBRepDS_MapOfShapeDataChangeShapes ()
 
void AddShapeSameDomain (const TopoDS_Shape &S, const TopoDS_Shape &SSD)
 
void RemoveShapeSameDomain (const TopoDS_Shape &S, const TopoDS_Shape &SSD)
 
Standard_Integer SameDomainRef (const Standard_Integer I) const
 
Standard_Integer SameDomainRef (const TopoDS_Shape &S) const
 
void SameDomainRef (const Standard_Integer I, const Standard_Integer Ref)
 
void SameDomainRef (const TopoDS_Shape &S, const Standard_Integer Ref)
 
TopOpeBRepDS_Config SameDomainOri (const Standard_Integer I) const
 
TopOpeBRepDS_Config SameDomainOri (const TopoDS_Shape &S) const
 
void SameDomainOri (const Standard_Integer I, const TopOpeBRepDS_Config Ori)
 
void SameDomainOri (const TopoDS_Shape &S, const TopOpeBRepDS_Config Ori)
 
Standard_Integer SameDomainInd (const Standard_Integer I) const
 
Standard_Integer SameDomainInd (const TopoDS_Shape &S) const
 
void SameDomainInd (const Standard_Integer I, const Standard_Integer Ind)
 
void SameDomainInd (const TopoDS_Shape &S, const Standard_Integer Ind)
 
Standard_Integer AncestorRank (const Standard_Integer I) const
 
Standard_Integer AncestorRank (const TopoDS_Shape &S) const
 
void AncestorRank (const Standard_Integer I, const Standard_Integer Ianc)
 
void AncestorRank (const TopoDS_Shape &S, const Standard_Integer Ianc)
 
void AddShapeInterference (const TopoDS_Shape &S, const Handle< TopOpeBRepDS_Interference > &I)
 
void RemoveShapeInterference (const TopoDS_Shape &S, const Handle< TopOpeBRepDS_Interference > &I)
 
void FillShapesSameDomain (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const Standard_Boolean refFirst=Standard_True)
 
void FillShapesSameDomain (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const TopOpeBRepDS_Config c1, const TopOpeBRepDS_Config c2, const Standard_Boolean refFirst=Standard_True)
 
void UnfillShapesSameDomain (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 
Standard_Integer NbSurfaces () const
 
Standard_Integer NbCurves () const
 
void ChangeNbCurves (const Standard_Integer N)
 
Standard_Integer NbPoints () const
 
Standard_Integer NbShapes () const
 
Standard_Integer NbSectionEdges () const
 
const TopOpeBRepDS_SurfaceSurface (const Standard_Integer I) const
 Returns the surface of index . More...
 
TopOpeBRepDS_SurfaceChangeSurface (const Standard_Integer I)
 Returns the surface of index . More...
 
const TopOpeBRepDS_CurveCurve (const Standard_Integer I) const
 Returns the Curve of index . More...
 
TopOpeBRepDS_CurveChangeCurve (const Standard_Integer I)
 Returns the Curve of index . More...
 
const TopOpeBRepDS_PointPoint (const Standard_Integer I) const
 Returns the point of index . More...
 
TopOpeBRepDS_PointChangePoint (const Standard_Integer I)
 Returns the point of index . More...
 
const TopoDS_ShapeShape (const Standard_Integer I, const Standard_Boolean FindKeep=Standard_True) const
 returns the shape of index I stored in the map myShapes, accessing a list of interference. More...
 
Standard_Integer Shape (const TopoDS_Shape &S, const Standard_Boolean FindKeep=Standard_True) const
 returns the index of shape <S> stored in the map myShapes, accessing a list of interference. returns 0 if <S> is not in the map. More...
 
const TopoDS_EdgeSectionEdge (const Standard_Integer I, const Standard_Boolean FindKeep=Standard_True) const
 
Standard_Integer SectionEdge (const TopoDS_Edge &E, const Standard_Boolean FindKeep=Standard_True) const
 
Standard_Boolean IsSectionEdge (const TopoDS_Edge &E, const Standard_Boolean FindKeep=Standard_True) const
 
Standard_Boolean HasGeometry (const TopoDS_Shape &S) const
 Returns True if <S> has new geometries, i.e : True si : HasShape(S) True S a une liste d'interferences non vide. S = SOLID, FACE, EDGE : true/false S = SHELL, WIRE, VERTEX : false. More...
 
Standard_Boolean HasShape (const TopoDS_Shape &S, const Standard_Boolean FindKeep=Standard_True) const
 Returns True if <S> est dans myShapes. More...
 
void SetNewSurface (const TopoDS_Shape &F, const Handle< Geom_Surface > &S)
 
Standard_Boolean HasNewSurface (const TopoDS_Shape &F) const
 
const Handle< Geom_Surface > & NewSurface (const TopoDS_Shape &F) const
 
void Isfafa (const Standard_Boolean isfafa)
 
Standard_Boolean Isfafa () const
 
TopOpeBRepDS_IndexedDataMapOfShapeWithStateChangeMapOfShapeWithStateObj ()
 
TopOpeBRepDS_IndexedDataMapOfShapeWithStateChangeMapOfShapeWithStateTool ()
 
TopOpeBRepDS_IndexedDataMapOfShapeWithStateChangeMapOfShapeWithState (const TopoDS_Shape &aShape, Standard_Boolean &aFlag)
 
const TopOpeBRepDS_ShapeWithStateGetShapeWithState (const TopoDS_Shape &aShape) const
 
TopTools_IndexedMapOfShapeChangeMapOfRejectedShapesObj ()
 
TopTools_IndexedMapOfShapeChangeMapOfRejectedShapesTool ()
 

Detailed Description

The DataStructure stores :

New geometries : points, curves, and surfaces. Topological shapes : vertices, edges, faces. The new geometries and the topological shapes have interferences.

Constructor & Destructor Documentation

TopOpeBRepDS_DataStructure::TopOpeBRepDS_DataStructure ( )

Member Function Documentation

Standard_Integer TopOpeBRepDS_DataStructure::AddCurve ( const TopOpeBRepDS_Curve S)

Insert a new curve. Returns the index.

Standard_Integer TopOpeBRepDS_DataStructure::AddPoint ( const TopOpeBRepDS_Point PDS)

Insert a new point. Returns the index.

Standard_Integer TopOpeBRepDS_DataStructure::AddPointSS ( const TopOpeBRepDS_Point PDS,
const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

Insert a new point. Returns the index.

Standard_Integer TopOpeBRepDS_DataStructure::AddSectionEdge ( const TopoDS_Edge E)
Standard_Integer TopOpeBRepDS_DataStructure::AddShape ( const TopoDS_Shape S)

Insert a shape S. Returns the index.

Standard_Integer TopOpeBRepDS_DataStructure::AddShape ( const TopoDS_Shape S,
const Standard_Integer  I 
)

Insert a shape S which ancestor is I = 1 or 2. Returns the index.

void TopOpeBRepDS_DataStructure::AddShapeInterference ( const TopoDS_Shape S,
const Handle< TopOpeBRepDS_Interference > &  I 
)
void TopOpeBRepDS_DataStructure::AddShapeSameDomain ( const TopoDS_Shape S,
const TopoDS_Shape SSD 
)
Standard_Integer TopOpeBRepDS_DataStructure::AddSurface ( const TopOpeBRepDS_Surface S)

Insert a new surface. Returns the index.

Standard_Integer TopOpeBRepDS_DataStructure::AncestorRank ( const Standard_Integer  I) const
Standard_Integer TopOpeBRepDS_DataStructure::AncestorRank ( const TopoDS_Shape S) const
void TopOpeBRepDS_DataStructure::AncestorRank ( const Standard_Integer  I,
const Standard_Integer  Ianc 
)
void TopOpeBRepDS_DataStructure::AncestorRank ( const TopoDS_Shape S,
const Standard_Integer  Ianc 
)
TopOpeBRepDS_Curve& TopOpeBRepDS_DataStructure::ChangeCurve ( const Standard_Integer  I)

Returns the Curve of index .

TopOpeBRepDS_ListOfInterference& TopOpeBRepDS_DataStructure::ChangeCurveInterferences ( const Standard_Integer  I)
void TopOpeBRepDS_DataStructure::ChangeKeepCurve ( const Standard_Integer  I,
const Standard_Boolean  FindKeep 
)
void TopOpeBRepDS_DataStructure::ChangeKeepCurve ( TopOpeBRepDS_Curve C,
const Standard_Boolean  FindKeep 
)
void TopOpeBRepDS_DataStructure::ChangeKeepPoint ( const Standard_Integer  I,
const Standard_Boolean  FindKeep 
)
void TopOpeBRepDS_DataStructure::ChangeKeepPoint ( TopOpeBRepDS_Point P,
const Standard_Boolean  FindKeep 
)
void TopOpeBRepDS_DataStructure::ChangeKeepShape ( const Standard_Integer  I,
const Standard_Boolean  FindKeep 
)
void TopOpeBRepDS_DataStructure::ChangeKeepShape ( const TopoDS_Shape S,
const Standard_Boolean  FindKeep 
)
void TopOpeBRepDS_DataStructure::ChangeKeepSurface ( const Standard_Integer  I,
const Standard_Boolean  FindKeep 
)
void TopOpeBRepDS_DataStructure::ChangeKeepSurface ( TopOpeBRepDS_Surface S,
const Standard_Boolean  FindKeep 
)
TopTools_IndexedMapOfShape& TopOpeBRepDS_DataStructure::ChangeMapOfRejectedShapesObj ( )
TopTools_IndexedMapOfShape& TopOpeBRepDS_DataStructure::ChangeMapOfRejectedShapesTool ( )
TopOpeBRepDS_IndexedDataMapOfShapeWithState& TopOpeBRepDS_DataStructure::ChangeMapOfShapeWithState ( const TopoDS_Shape aShape,
Standard_Boolean aFlag 
)
TopOpeBRepDS_IndexedDataMapOfShapeWithState& TopOpeBRepDS_DataStructure::ChangeMapOfShapeWithStateObj ( )
TopOpeBRepDS_IndexedDataMapOfShapeWithState& TopOpeBRepDS_DataStructure::ChangeMapOfShapeWithStateTool ( )
void TopOpeBRepDS_DataStructure::ChangeNbCurves ( const Standard_Integer  N)
TopOpeBRepDS_Point& TopOpeBRepDS_DataStructure::ChangePoint ( const Standard_Integer  I)

Returns the point of index .

TopOpeBRepDS_ListOfInterference& TopOpeBRepDS_DataStructure::ChangePointInterferences ( const Standard_Integer  I)
TopOpeBRepDS_ListOfInterference& TopOpeBRepDS_DataStructure::ChangeShapeInterferences ( const TopoDS_Shape S)
TopOpeBRepDS_ListOfInterference& TopOpeBRepDS_DataStructure::ChangeShapeInterferences ( const Standard_Integer  I)
TopOpeBRepDS_MapOfShapeData& TopOpeBRepDS_DataStructure::ChangeShapes ( )
TopTools_ListOfShape& TopOpeBRepDS_DataStructure::ChangeShapeSameDomain ( const TopoDS_Shape S)
TopTools_ListOfShape& TopOpeBRepDS_DataStructure::ChangeShapeSameDomain ( const Standard_Integer  I)
TopOpeBRepDS_Surface& TopOpeBRepDS_DataStructure::ChangeSurface ( const Standard_Integer  I)

Returns the surface of index .

TopOpeBRepDS_ListOfInterference& TopOpeBRepDS_DataStructure::ChangeSurfaceInterferences ( const Standard_Integer  I)
const TopOpeBRepDS_Curve& TopOpeBRepDS_DataStructure::Curve ( const Standard_Integer  I) const

Returns the Curve of index .

const TopOpeBRepDS_ListOfInterference& TopOpeBRepDS_DataStructure::CurveInterferences ( const Standard_Integer  I) const
void TopOpeBRepDS_DataStructure::FillShapesSameDomain ( const TopoDS_Shape S1,
const TopoDS_Shape S2,
const Standard_Boolean  refFirst = Standard_True 
)
void TopOpeBRepDS_DataStructure::FillShapesSameDomain ( const TopoDS_Shape S1,
const TopoDS_Shape S2,
const TopOpeBRepDS_Config  c1,
const TopOpeBRepDS_Config  c2,
const Standard_Boolean  refFirst = Standard_True 
)
const TopOpeBRepDS_ShapeWithState& TopOpeBRepDS_DataStructure::GetShapeWithState ( const TopoDS_Shape aShape) const
Standard_Boolean TopOpeBRepDS_DataStructure::HasGeometry ( const TopoDS_Shape S) const

Returns True if <S> has new geometries, i.e : True si : HasShape(S) True S a une liste d'interferences non vide. S = SOLID, FACE, EDGE : true/false S = SHELL, WIRE, VERTEX : false.

Standard_Boolean TopOpeBRepDS_DataStructure::HasNewSurface ( const TopoDS_Shape F) const
Standard_Boolean TopOpeBRepDS_DataStructure::HasShape ( const TopoDS_Shape S,
const Standard_Boolean  FindKeep = Standard_True 
) const

Returns True if <S> est dans myShapes.

void TopOpeBRepDS_DataStructure::Init ( )

reset the data structure

void TopOpeBRepDS_DataStructure::InitSectionEdges ( )
void TopOpeBRepDS_DataStructure::Isfafa ( const Standard_Boolean  isfafa)
Standard_Boolean TopOpeBRepDS_DataStructure::Isfafa ( ) const
Standard_Boolean TopOpeBRepDS_DataStructure::IsSectionEdge ( const TopoDS_Edge E,
const Standard_Boolean  FindKeep = Standard_True 
) const
Standard_Boolean TopOpeBRepDS_DataStructure::KeepCurve ( const Standard_Integer  I) const
Standard_Boolean TopOpeBRepDS_DataStructure::KeepCurve ( const TopOpeBRepDS_Curve C) const
Standard_Boolean TopOpeBRepDS_DataStructure::KeepPoint ( const Standard_Integer  I) const
Standard_Boolean TopOpeBRepDS_DataStructure::KeepPoint ( const TopOpeBRepDS_Point P) const
Standard_Boolean TopOpeBRepDS_DataStructure::KeepShape ( const Standard_Integer  I,
const Standard_Boolean  FindKeep = Standard_True 
) const
Standard_Boolean TopOpeBRepDS_DataStructure::KeepShape ( const TopoDS_Shape S,
const Standard_Boolean  FindKeep = Standard_True 
) const
Standard_Boolean TopOpeBRepDS_DataStructure::KeepSurface ( const Standard_Integer  I) const
Standard_Boolean TopOpeBRepDS_DataStructure::KeepSurface ( TopOpeBRepDS_Surface S) const
Standard_Integer TopOpeBRepDS_DataStructure::NbCurves ( ) const
Standard_Integer TopOpeBRepDS_DataStructure::NbPoints ( ) const
Standard_Integer TopOpeBRepDS_DataStructure::NbSectionEdges ( ) const
Standard_Integer TopOpeBRepDS_DataStructure::NbShapes ( ) const
Standard_Integer TopOpeBRepDS_DataStructure::NbSurfaces ( ) const
const Handle< Geom_Surface >& TopOpeBRepDS_DataStructure::NewSurface ( const TopoDS_Shape F) const
const TopOpeBRepDS_Point& TopOpeBRepDS_DataStructure::Point ( const Standard_Integer  I) const

Returns the point of index .

const TopOpeBRepDS_ListOfInterference& TopOpeBRepDS_DataStructure::PointInterferences ( const Standard_Integer  I) const
void TopOpeBRepDS_DataStructure::RemoveCurve ( const Standard_Integer  I)
void TopOpeBRepDS_DataStructure::RemovePoint ( const Standard_Integer  I)
void TopOpeBRepDS_DataStructure::RemoveShapeInterference ( const TopoDS_Shape S,
const Handle< TopOpeBRepDS_Interference > &  I 
)
void TopOpeBRepDS_DataStructure::RemoveShapeSameDomain ( const TopoDS_Shape S,
const TopoDS_Shape SSD 
)
void TopOpeBRepDS_DataStructure::RemoveSurface ( const Standard_Integer  I)
Standard_Integer TopOpeBRepDS_DataStructure::SameDomainInd ( const Standard_Integer  I) const
Standard_Integer TopOpeBRepDS_DataStructure::SameDomainInd ( const TopoDS_Shape S) const
void TopOpeBRepDS_DataStructure::SameDomainInd ( const Standard_Integer  I,
const Standard_Integer  Ind 
)
void TopOpeBRepDS_DataStructure::SameDomainInd ( const TopoDS_Shape S,
const Standard_Integer  Ind 
)
TopOpeBRepDS_Config TopOpeBRepDS_DataStructure::SameDomainOri ( const Standard_Integer  I) const
TopOpeBRepDS_Config TopOpeBRepDS_DataStructure::SameDomainOri ( const TopoDS_Shape S) const
void TopOpeBRepDS_DataStructure::SameDomainOri ( const Standard_Integer  I,
const TopOpeBRepDS_Config  Ori 
)
void TopOpeBRepDS_DataStructure::SameDomainOri ( const TopoDS_Shape S,
const TopOpeBRepDS_Config  Ori 
)
Standard_Integer TopOpeBRepDS_DataStructure::SameDomainRef ( const Standard_Integer  I) const
Standard_Integer TopOpeBRepDS_DataStructure::SameDomainRef ( const TopoDS_Shape S) const
void TopOpeBRepDS_DataStructure::SameDomainRef ( const Standard_Integer  I,
const Standard_Integer  Ref 
)
void TopOpeBRepDS_DataStructure::SameDomainRef ( const TopoDS_Shape S,
const Standard_Integer  Ref 
)
const TopoDS_Edge& TopOpeBRepDS_DataStructure::SectionEdge ( const Standard_Integer  I,
const Standard_Boolean  FindKeep = Standard_True 
) const
Standard_Integer TopOpeBRepDS_DataStructure::SectionEdge ( const TopoDS_Edge E,
const Standard_Boolean  FindKeep = Standard_True 
) const
void TopOpeBRepDS_DataStructure::SetNewSurface ( const TopoDS_Shape F,
const Handle< Geom_Surface > &  S 
)
const TopoDS_Shape& TopOpeBRepDS_DataStructure::Shape ( const Standard_Integer  I,
const Standard_Boolean  FindKeep = Standard_True 
) const

returns the shape of index I stored in the map myShapes, accessing a list of interference.

Standard_Integer TopOpeBRepDS_DataStructure::Shape ( const TopoDS_Shape S,
const Standard_Boolean  FindKeep = Standard_True 
) const

returns the index of shape <S> stored in the map myShapes, accessing a list of interference. returns 0 if <S> is not in the map.

const TopOpeBRepDS_ListOfInterference& TopOpeBRepDS_DataStructure::ShapeInterferences ( const TopoDS_Shape S,
const Standard_Boolean  FindKeep = Standard_True 
) const
const TopOpeBRepDS_ListOfInterference& TopOpeBRepDS_DataStructure::ShapeInterferences ( const Standard_Integer  I,
const Standard_Boolean  FindKeep = Standard_True 
) const
const TopTools_ListOfShape& TopOpeBRepDS_DataStructure::ShapeSameDomain ( const TopoDS_Shape S) const
const TopTools_ListOfShape& TopOpeBRepDS_DataStructure::ShapeSameDomain ( const Standard_Integer  I) const
const TopOpeBRepDS_Surface& TopOpeBRepDS_DataStructure::Surface ( const Standard_Integer  I) const

Returns the surface of index .

const TopOpeBRepDS_ListOfInterference& TopOpeBRepDS_DataStructure::SurfaceInterferences ( const Standard_Integer  I) const
void TopOpeBRepDS_DataStructure::UnfillShapesSameDomain ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

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