Open CASCADE Technology
7.3.0
|
#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_ListOfShape & | 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 More... | |
const TopTools_ListOfShape & | GetSectionEdgeSet () |
returns all compounds of edges connected with section contained in the DS More... | |
Standard_Boolean | IsWire (const TopoDS_Shape &Compound) |
NYI. More... | |
const TopoDS_Shape & | Wire (const TopoDS_Shape &Compound) |
NYI. More... | |
const TopTools_ListOfShape & | 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) 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_Shape & | Merge (const TopAbs_State state1, const TopAbs_State state2) |
const TopoDS_Shape & | Merge (const TopAbs_State state1) |
const TopoDS_Shape & | 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 ... ... More... | |
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. More... | |
const TopTools_ListOfShape & | Modified (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 () |
BRepAlgo_DSAccess::BRepAlgo_DSAccess | ( | ) |
const Handle< TopOpeBRepBuild_HBuilder >& BRepAlgo_DSAccess::Builder | ( | ) | const |
Handle< TopOpeBRepBuild_HBuilder >& BRepAlgo_DSAccess::ChangeBuilder | ( | ) |
Handle< TopOpeBRepDS_HDataStructure >& BRepAlgo_DSAccess::ChangeDS | ( | ) |
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>
BRepAlgo_CheckStatus BRepAlgo_DSAccess::Check | ( | ) |
NYI coherence of the internal Data Structure.
const Handle< TopOpeBRepDS_HDataStructure >& BRepAlgo_DSAccess::DS | ( | ) | const |
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
const TopTools_ListOfShape& BRepAlgo_DSAccess::GetSectionEdgeSet | ( | ) |
returns all compounds of edges connected with section contained in the DS
void BRepAlgo_DSAccess::Init | ( | ) |
Clears the internal data structure, including the.
void BRepAlgo_DSAccess::Intersect | ( | ) |
Intersects two shapes at input and loads the DS with their intersection. Clears the TopOpeBRepBuild_HBuilder if necessary.
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.
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.
Standard_Boolean BRepAlgo_DSAccess::IsWire | ( | const TopoDS_Shape & | Compound | ) |
NYI.
void BRepAlgo_DSAccess::Load | ( | const TopoDS_Shape & | S | ) |
Loads the shape in DS.
void BRepAlgo_DSAccess::Load | ( | TopoDS_Shape & | S1, |
TopoDS_Shape & | S2 | ||
) |
Loads two shapes in the DS without intersecting them.
const TopoDS_Shape& BRepAlgo_DSAccess::Merge | ( | const TopAbs_State | state1, |
const TopAbs_State | state2 | ||
) |
const TopoDS_Shape& BRepAlgo_DSAccess::Merge | ( | const TopAbs_State | state1 | ) |
const TopTools_ListOfShape& BRepAlgo_DSAccess::Modified | ( | const TopoDS_Shape & | S | ) |
Returns the list of the descendant shapes of the shape <S>.
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 ... ...
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.
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.
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)
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.
void BRepAlgo_DSAccess::SuppressSectionVertex | ( | const TopoDS_Vertex & | V | ) |
NYI Make invalid a Vertex of section. The Vertex shoud be reconstructed from a point.
const TopoDS_Shape& BRepAlgo_DSAccess::Wire | ( | const TopoDS_Shape & | Compound | ) |
NYI.