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

#include <BRepAlgo_DSAccess.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC BRepAlgo_DSAccess ()
void Init ()
 Clears the internal data structure, including the

void Load (const TopoDS_Shape &S)
 Loads the shape in DS.


void Load (TopoDS_Shape &S1, TopoDS_Shape &S2)
 Loads two shapes in the DS without intersecting them.

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

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

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.

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

const TopTools_ListOfShapeGetSectionEdgeSet ()
 returns all compounds of edges connected with section
contained in the DS

Standard_Boolean IsWire (const TopoDS_Shape &Compound)
 NYI

const TopoDS_ShapeWire (const TopoDS_Shape &Compound)
 NYI

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)

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.

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>



void SuppressSectionVertex (const TopoDS_Vertex &V)
 NYI
Make invalid a Vertex of section. The Vertex shoud be
reconstructed from a point.

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
... ...

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.

const TopTools_ListOfShapeModified (const TopoDS_Shape &S)
 Returns the list of the descendant shapes of the shape <S>.

Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns the fact that the shape <S> has been deleted or not
by the boolean operation.

BRepAlgo_CheckStatus Check ()
 NYI
coherence of the internal Data Structure.

const
Handle_TopOpeBRepDS_HDataStructure & 
DS () const
Handle_TopOpeBRepDS_HDataStructure & ChangeDS ()
const
Handle_TopOpeBRepBuild_HBuilder & 
Builder () const
Handle_TopOpeBRepBuild_HBuilder & ChangeBuilder ()

Constructor & Destructor Documentation


Member Function Documentation

const Handle_TopOpeBRepBuild_HBuilder& BRepAlgo_DSAccess::Builder ( ) const
Handle_TopOpeBRepBuild_HBuilder& BRepAlgo_DSAccess::ChangeBuilder ( )
Handle_TopOpeBRepDS_HDataStructure& BRepAlgo_DSAccess::ChangeDS ( )
const Handle_TopOpeBRepDS_HDataStructure& BRepAlgo_DSAccess::DS ( ) const

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