Open CASCADE Technology  7.3.0
Public Member Functions
BRepAlgo_DSAccess Class Reference

#include <BRepAlgo_DSAccess.hxx>

Public Member Functions

 BRepAlgo_DSAccess ()
 
void Init ()
 Clears the internal data structure, including the. More...
 
void Load (const TopoDS_Shape &S)
 Loads the shape in DS. More...
 
void Load (TopoDS_Shape &S1, TopoDS_Shape &S2)
 Loads two shapes in the DS without intersecting them. More...
 
void Intersect ()
 Intersects two shapes at input and loads the DS with their intersection. Clears the TopOpeBRepBuild_HBuilder if necessary. More...
 
void Intersect (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Intersects the faces contained in two given shapes and loads them in the DS. Clears the TopOpeBRepBuild_HBuilder if necessary. More...
 
void SameDomain (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 This method does the same thing as the previous, but faster. There is no intersection face/face 3D. The faces have the same support(surface). No test of tangency (that is why it is faster). Intersects in 2d the faces tangent F1 anf F2. More...
 
const TopTools_ListOfShapeGetSectionEdgeSet (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 returns compounds of Edge connected with section, which contains sections between faces contained in S1 and S2. returns an empty list of Shape if S1 or S2 do not contain face. calls GetSectionEdgeSet() if it has not already been done More...
 
const TopTools_ListOfShapeGetSectionEdgeSet ()
 returns all compounds of edges connected with section contained in the DS More...
 
Standard_Boolean IsWire (const TopoDS_Shape &Compound)
 NYI. More...
 
const TopoDS_ShapeWire (const TopoDS_Shape &Compound)
 NYI. More...
 
const TopTools_ListOfShapeSectionVertex (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 NYI returns the vertex of section, which contains the section between face S1 and edge S2 (returns an empty Shape if S1 is not a face or if S2 is not an edge) More...
 
void SuppressEdgeSet (const TopoDS_Shape &Compound)
 Invalidates a complete line of section. All Edges connected by Vertex or a Wire. Can be a group of connected Edges, which do not form a standard Wire. More...
 
void ChangeEdgeSet (const TopoDS_Shape &Old, const TopoDS_Shape &New)
 Modifies a line of section. <New> – should be a Group of Edges connected by Vertex. – Can be a Wire. Can be a group of connected Edges that do not form a standard Wire. <New> should be sub-groupn of <Old> More...
 
void SuppressSectionVertex (const TopoDS_Vertex &V)
 NYI Make invalid a Vertex of section. The Vertex shoud be reconstructed from a point. More...
 
const TopoDS_ShapeMerge (const TopAbs_State state1, const TopAbs_State state2)
 
const TopoDS_ShapeMerge (const TopAbs_State state1)
 
const TopoDS_ShapePropagate (const TopAbs_State what, const TopoDS_Shape &FromShape, const TopoDS_Shape &LoadShape)
 NYI Propagation of a state starting from the shape FromShape = edge or vertex of section, face or Coumpound de section. LoadShape is either S1, or S2 (see the method Load). Propagation from FromShape, on the states <what> of LoadShape. Return a Wire in 2d, a Shell in 3d. Specifications are incomplete, to be redefined for the typologies correpsonding to <FromShape> and the result : exemple : FromShape resultat vertex wire (or edge) edge of section face (or shell) compound of section shell ... ... More...
 
const TopoDS_ShapePropagateFromSection (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. More...
 
const TopTools_ListOfShapeModified (const TopoDS_Shape &S)
 Returns the list of the descendant shapes of the shape <S>. More...
 
Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns the fact that the shape <S> has been deleted or not by the boolean operation. More...
 
BRepAlgo_CheckStatus Check ()
 NYI coherence of the internal Data Structure. More...
 
const Handle< TopOpeBRepDS_HDataStructure > & DS () const
 
Handle< TopOpeBRepDS_HDataStructure > & ChangeDS ()
 
const Handle< TopOpeBRepBuild_HBuilder > & Builder () const
 
Handle< TopOpeBRepBuild_HBuilder > & ChangeBuilder ()
 

Constructor & Destructor Documentation

◆ BRepAlgo_DSAccess()

BRepAlgo_DSAccess::BRepAlgo_DSAccess ( )

Member Function Documentation

◆ Builder()

const Handle< TopOpeBRepBuild_HBuilder >& BRepAlgo_DSAccess::Builder ( ) const

◆ ChangeBuilder()

Handle< TopOpeBRepBuild_HBuilder >& BRepAlgo_DSAccess::ChangeBuilder ( )

◆ ChangeDS()

Handle< TopOpeBRepDS_HDataStructure >& BRepAlgo_DSAccess::ChangeDS ( )

◆ ChangeEdgeSet()

void BRepAlgo_DSAccess::ChangeEdgeSet ( const TopoDS_Shape Old,
const TopoDS_Shape New 
)

Modifies a line of section. <New> – should be a Group of Edges connected by Vertex. – Can be a Wire. Can be a group of connected Edges that do not form a standard Wire. <New> should be sub-groupn of <Old>

◆ Check()

BRepAlgo_CheckStatus BRepAlgo_DSAccess::Check ( )

NYI coherence of the internal Data Structure.

◆ DS()

const Handle< TopOpeBRepDS_HDataStructure >& BRepAlgo_DSAccess::DS ( ) const

◆ GetSectionEdgeSet() [1/2]

const TopTools_ListOfShape& BRepAlgo_DSAccess::GetSectionEdgeSet ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

returns compounds of Edge connected with section, which contains sections between faces contained in S1 and S2. returns an empty list of Shape if S1 or S2 do not contain face. calls GetSectionEdgeSet() if it has not already been done

◆ GetSectionEdgeSet() [2/2]

const TopTools_ListOfShape& BRepAlgo_DSAccess::GetSectionEdgeSet ( )

returns all compounds of edges connected with section contained in the DS

◆ Init()

void BRepAlgo_DSAccess::Init ( )

Clears the internal data structure, including the.

◆ Intersect() [1/2]

void BRepAlgo_DSAccess::Intersect ( )

Intersects two shapes at input and loads the DS with their intersection. Clears the TopOpeBRepBuild_HBuilder if necessary.

◆ Intersect() [2/2]

void BRepAlgo_DSAccess::Intersect ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

Intersects the faces contained in two given shapes and loads them in the DS. Clears the TopOpeBRepBuild_HBuilder if necessary.

◆ IsDeleted()

Standard_Boolean BRepAlgo_DSAccess::IsDeleted ( const TopoDS_Shape S)

Returns the fact that the shape <S> has been deleted or not by the boolean operation.

◆ IsWire()

Standard_Boolean BRepAlgo_DSAccess::IsWire ( const TopoDS_Shape Compound)

NYI.

◆ Load() [1/2]

void BRepAlgo_DSAccess::Load ( const TopoDS_Shape S)

Loads the shape in DS.

◆ Load() [2/2]

void BRepAlgo_DSAccess::Load ( TopoDS_Shape S1,
TopoDS_Shape S2 
)

Loads two shapes in the DS without intersecting them.

◆ Merge() [1/2]

const TopoDS_Shape& BRepAlgo_DSAccess::Merge ( const TopAbs_State  state1,
const TopAbs_State  state2 
)

◆ Merge() [2/2]

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

◆ Modified()

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

Returns the list of the descendant shapes of the shape <S>.

◆ Propagate()

const TopoDS_Shape& BRepAlgo_DSAccess::Propagate ( const TopAbs_State  what,
const TopoDS_Shape FromShape,
const TopoDS_Shape LoadShape 
)

NYI Propagation of a state starting from the shape FromShape = edge or vertex of section, face or Coumpound de section. LoadShape is either S1, or S2 (see the method Load). Propagation from FromShape, on the states <what> of LoadShape. Return a Wire in 2d, a Shell in 3d. Specifications are incomplete, to be redefined for the typologies correpsonding to <FromShape> and the result : exemple : FromShape resultat vertex wire (or edge) edge of section face (or shell) compound of section shell ... ...

◆ PropagateFromSection()

const TopoDS_Shape& BRepAlgo_DSAccess::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.

◆ SameDomain()

void BRepAlgo_DSAccess::SameDomain ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

This method does the same thing as the previous, but faster. There is no intersection face/face 3D. The faces have the same support(surface). No test of tangency (that is why it is faster). Intersects in 2d the faces tangent F1 anf F2.

◆ SectionVertex()

const TopTools_ListOfShape& BRepAlgo_DSAccess::SectionVertex ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

NYI returns the vertex of section, which contains the section between face S1 and edge S2 (returns an empty Shape if S1 is not a face or if S2 is not an edge)

◆ SuppressEdgeSet()

void BRepAlgo_DSAccess::SuppressEdgeSet ( const TopoDS_Shape Compound)

Invalidates a complete line of section. All Edges connected by Vertex or a Wire. Can be a group of connected Edges, which do not form a standard Wire.

◆ SuppressSectionVertex()

void BRepAlgo_DSAccess::SuppressSectionVertex ( const TopoDS_Vertex V)

NYI Make invalid a Vertex of section. The Vertex shoud be reconstructed from a point.

◆ Wire()

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

NYI.


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