Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
TopOpeBRepDS_DataStructure Class Reference

The DataStructure stores :

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

#include <TopOpeBRepDS_DataStructure.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC TopOpeBRepDS_DataStructure ()
void Init ()
 reset the data structure

Standard_Integer AddSurface (const TopOpeBRepDS_Surface &S)
 Insert a new surface. Returns the index.

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.

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.

Standard_Integer AddPointSS (const TopOpeBRepDS_Point &PDS, const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Insert a new point. Returns the index.

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.

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.

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_ListOfInterference
SurfaceInterferences (const Standard_Integer I) const
TopOpeBRepDS_ListOfInterferenceChangeSurfaceInterferences (const Standard_Integer I)
const
TopOpeBRepDS_ListOfInterference
CurveInterferences (const Standard_Integer I) const
TopOpeBRepDS_ListOfInterferenceChangeCurveInterferences (const Standard_Integer I)
const
TopOpeBRepDS_ListOfInterference
PointInterferences (const Standard_Integer I) const
TopOpeBRepDS_ListOfInterferenceChangePointInterferences (const Standard_Integer I)
const
TopOpeBRepDS_ListOfInterference
ShapeInterferences (const TopoDS_Shape &S, const Standard_Boolean FindKeep=Standard_True) const
TopOpeBRepDS_ListOfInterferenceChangeShapeInterferences (const TopoDS_Shape &S)
const
TopOpeBRepDS_ListOfInterference
ShapeInterferences (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 .

TopOpeBRepDS_SurfaceChangeSurface (const Standard_Integer I)
 Returns the surface of index .

const TopOpeBRepDS_CurveCurve (const Standard_Integer I) const
 Returns the Curve of index .

TopOpeBRepDS_CurveChangeCurve (const Standard_Integer I)
 Returns the Curve of index .

const TopOpeBRepDS_PointPoint (const Standard_Integer I) const
 Returns the point of index .

TopOpeBRepDS_PointChangePoint (const Standard_Integer I)
 Returns the point of index .

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.

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.

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.

Standard_Boolean HasShape (const TopoDS_Shape &S, const Standard_Boolean FindKeep=Standard_True) const
 Returns True if <S> est dans myShapes

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 ()

Constructor & Destructor Documentation


Member Function Documentation

const Handle_Geom_Surface& TopOpeBRepDS_DataStructure::NewSurface ( const TopoDS_Shape F) const

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