Open CASCADE Technology 7.8.2.dev
|
Analyses the shape to find the parts of edges connecting the convex, concave or tangent faces. More...
#include <BRepOffset_Analyse.hxx>
Public Member Functions | |
Constructors | |
BRepOffset_Analyse () | |
Empty c-tor. | |
BRepOffset_Analyse (const TopoDS_Shape &theS, const Standard_Real theAngle) | |
C-tor performing the job inside. | |
Performing analysis | |
void | Perform (const TopoDS_Shape &theS, const Standard_Real theAngle, const Message_ProgressRange &theRange=Message_ProgressRange()) |
Performs the analysis. | |
Results | |
Standard_Boolean | IsDone () const |
Returns status of the algorithm. | |
const BRepOffset_ListOfInterval & | Type (const TopoDS_Edge &theE) const |
Returns the connectivity type of the edge. | |
void | Edges (const TopoDS_Vertex &theV, const ChFiDS_TypeOfConcavity theType, TopTools_ListOfShape &theL) const |
Stores in <L> all the edges of Type <T> on the vertex <V>. | |
void | Edges (const TopoDS_Face &theF, const ChFiDS_TypeOfConcavity theType, TopTools_ListOfShape &theL) const |
Stores in <L> all the edges of Type <T> on the face <F>. | |
void | TangentEdges (const TopoDS_Edge &theEdge, const TopoDS_Vertex &theVertex, TopTools_ListOfShape &theEdges) const |
set in <Edges> all the Edges of <Shape> which are tangent to <Edge> at the vertex <Vertex>. | |
Standard_Boolean | HasAncestor (const TopoDS_Shape &theS) const |
Checks if the given shape has ancestors. | |
const TopTools_ListOfShape & | Ancestors (const TopoDS_Shape &theS) const |
Returns ancestors for the shape. | |
void | Explode (TopTools_ListOfShape &theL, const ChFiDS_TypeOfConcavity theType) const |
Explode in compounds of faces where all the connex edges are of type <Side> | |
void | Explode (TopTools_ListOfShape &theL, const ChFiDS_TypeOfConcavity theType1, const ChFiDS_TypeOfConcavity theType2) const |
Explode in compounds of faces where all the connex edges are of type <Side1> or <Side2> | |
void | AddFaces (const TopoDS_Face &theFace, TopoDS_Compound &theCo, TopTools_MapOfShape &theMap, const ChFiDS_TypeOfConcavity theType) const |
Add in <CO> the faces of the shell containing <Face> where all the connex edges are of type <Side>. | |
void | AddFaces (const TopoDS_Face &theFace, TopoDS_Compound &theCo, TopTools_MapOfShape &theMap, const ChFiDS_TypeOfConcavity theType1, const ChFiDS_TypeOfConcavity theType2) const |
Add in <CO> the faces of the shell containing <Face> where all the connex edges are of type <Side1> or <Side2>. | |
void | SetOffsetValue (const Standard_Real theOffset) |
Returns status of the algorithm. | |
void | SetFaceOffsetMap (const TopTools_DataMapOfShapeReal &theMap) |
Sets the face-offset data map to analyze tangential cases. | |
const TopTools_ListOfShape & | NewFaces () const |
Returns the new faces constructed between tangent faces having different offset values on the shape. | |
TopoDS_Shape | Generated (const TopoDS_Shape &theS) const |
Returns the new face constructed for the edge connecting the two tangent faces having different offset values. | |
Standard_Boolean | HasGenerated (const TopoDS_Shape &theS) const |
Checks if the edge has generated a new face. | |
const TopoDS_Edge & | EdgeReplacement (const TopoDS_Face &theFace, const TopoDS_Edge &theEdge) const |
Returns the replacement of the edge in the face. If no replacement exists, returns the edge. | |
const TopTools_ListOfShape * | Descendants (const TopoDS_Shape &theS, const Standard_Boolean theUpdate=Standard_False) const |
Returns the shape descendants. | |
Clearing the content | |
void | Clear () |
Clears the content of the algorithm. | |
Analyses the shape to find the parts of edges connecting the convex, concave or tangent faces.
BRepOffset_Analyse::BRepOffset_Analyse | ( | ) |
Empty c-tor.
BRepOffset_Analyse::BRepOffset_Analyse | ( | const TopoDS_Shape & | theS, |
const Standard_Real | theAngle ) |
C-tor performing the job inside.
void BRepOffset_Analyse::AddFaces | ( | const TopoDS_Face & | theFace, |
TopoDS_Compound & | theCo, | ||
TopTools_MapOfShape & | theMap, | ||
const ChFiDS_TypeOfConcavity | theType ) const |
Add in <CO> the faces of the shell containing <Face> where all the connex edges are of type <Side>.
void BRepOffset_Analyse::AddFaces | ( | const TopoDS_Face & | theFace, |
TopoDS_Compound & | theCo, | ||
TopTools_MapOfShape & | theMap, | ||
const ChFiDS_TypeOfConcavity | theType1, | ||
const ChFiDS_TypeOfConcavity | theType2 ) const |
Add in <CO> the faces of the shell containing <Face> where all the connex edges are of type <Side1> or <Side2>.
|
inline |
Returns ancestors for the shape.
void BRepOffset_Analyse::Clear | ( | ) |
Clears the content of the algorithm.
const TopTools_ListOfShape * BRepOffset_Analyse::Descendants | ( | const TopoDS_Shape & | theS, |
const Standard_Boolean | theUpdate = Standard_False ) const |
Returns the shape descendants.
const TopoDS_Edge & BRepOffset_Analyse::EdgeReplacement | ( | const TopoDS_Face & | theFace, |
const TopoDS_Edge & | theEdge ) const |
Returns the replacement of the edge in the face. If no replacement exists, returns the edge.
void BRepOffset_Analyse::Edges | ( | const TopoDS_Face & | theF, |
const ChFiDS_TypeOfConcavity | theType, | ||
TopTools_ListOfShape & | theL ) const |
Stores in <L> all the edges of Type <T> on the face <F>.
void BRepOffset_Analyse::Edges | ( | const TopoDS_Vertex & | theV, |
const ChFiDS_TypeOfConcavity | theType, | ||
TopTools_ListOfShape & | theL ) const |
Stores in <L> all the edges of Type <T> on the vertex <V>.
void BRepOffset_Analyse::Explode | ( | TopTools_ListOfShape & | theL, |
const ChFiDS_TypeOfConcavity | theType ) const |
Explode in compounds of faces where all the connex edges are of type <Side>
void BRepOffset_Analyse::Explode | ( | TopTools_ListOfShape & | theL, |
const ChFiDS_TypeOfConcavity | theType1, | ||
const ChFiDS_TypeOfConcavity | theType2 ) const |
Explode in compounds of faces where all the connex edges are of type <Side1> or <Side2>
TopoDS_Shape BRepOffset_Analyse::Generated | ( | const TopoDS_Shape & | theS | ) | const |
Returns the new face constructed for the edge connecting the two tangent faces having different offset values.
|
inline |
Checks if the given shape has ancestors.
|
inline |
Checks if the edge has generated a new face.
|
inline |
Returns status of the algorithm.
|
inline |
Returns the new faces constructed between tangent faces having different offset values on the shape.
void BRepOffset_Analyse::Perform | ( | const TopoDS_Shape & | theS, |
const Standard_Real | theAngle, | ||
const Message_ProgressRange & | theRange = Message_ProgressRange() ) |
Performs the analysis.
|
inline |
Sets the face-offset data map to analyze tangential cases.
|
inline |
Returns status of the algorithm.
void BRepOffset_Analyse::TangentEdges | ( | const TopoDS_Edge & | theEdge, |
const TopoDS_Vertex & | theVertex, | ||
TopTools_ListOfShape & | theEdges ) const |
set in <Edges> all the Edges of <Shape> which are tangent to <Edge> at the vertex <Vertex>.
const BRepOffset_ListOfInterval & BRepOffset_Analyse::Type | ( | const TopoDS_Edge & | theE | ) | const |
Returns the connectivity type of the edge.