Open CASCADE Technology  7.7.0

BRepOffset_Analyse Class Reference

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. More...
 
 BRepOffset_Analyse (const TopoDS_Shape &theS, const Standard_Real theAngle)
 C-tor performing the job inside. More...
 
Performing analysis
void Perform (const TopoDS_Shape &theS, const Standard_Real theAngle, const Message_ProgressRange &theRange=Message_ProgressRange())
 Performs the analysis. More...
 
Results
Standard_Boolean IsDone () const
 Returns status of the algorithm. More...
 
const BRepOffset_ListOfIntervalType (const TopoDS_Edge &theE) const
 Returns the connectivity type of the edge. More...
 
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>. More...
 
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>. More...
 
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>. More...
 
Standard_Boolean HasAncestor (const TopoDS_Shape &theS) const
 Checks if the given shape has ancestors. More...
 
const TopTools_ListOfShapeAncestors (const TopoDS_Shape &theS) const
 Returns ancestors for the shape. More...
 
void Explode (TopTools_ListOfShape &theL, const ChFiDS_TypeOfConcavity theType) const
 Explode in compounds of faces where all the connex edges are of type <Side> More...
 
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> More...
 
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>. More...
 
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>. More...
 
void SetOffsetValue (const Standard_Real theOffset)
 Returns status of the algorithm. More...
 
void SetFaceOffsetMap (const TopTools_DataMapOfShapeReal &theMap)
 Sets the face-offset data map to analyze tangential cases. More...
 
const TopTools_ListOfShapeNewFaces () const
 Returns the new faces constructed between tangent faces having different offset values on the shape. More...
 
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. More...
 
Standard_Boolean HasGenerated (const TopoDS_Shape &theS) const
 Checks if the edge has generated a new face. More...
 
const TopoDS_EdgeEdgeReplacement (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. More...
 
const TopTools_ListOfShapeDescendants (const TopoDS_Shape &theS, const Standard_Boolean theUpdate=Standard_False) const
 Returns the shape descendants. More...
 
Clearing the content
void Clear ()
 Clears the content of the algorithm. More...
 

Detailed Description

Analyses the shape to find the parts of edges connecting the convex, concave or tangent faces.

Constructor & Destructor Documentation

◆ BRepOffset_Analyse() [1/2]

BRepOffset_Analyse::BRepOffset_Analyse ( )

Empty c-tor.

◆ BRepOffset_Analyse() [2/2]

BRepOffset_Analyse::BRepOffset_Analyse ( const TopoDS_Shape theS,
const Standard_Real  theAngle 
)

C-tor performing the job inside.

Member Function Documentation

◆ AddFaces() [1/2]

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

◆ AddFaces() [2/2]

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

◆ Ancestors()

const TopTools_ListOfShape& BRepOffset_Analyse::Ancestors ( const TopoDS_Shape theS) const
inline

Returns ancestors for the shape.

◆ Clear()

void BRepOffset_Analyse::Clear ( )

Clears the content of the algorithm.

◆ Descendants()

const TopTools_ListOfShape* BRepOffset_Analyse::Descendants ( const TopoDS_Shape theS,
const Standard_Boolean  theUpdate = Standard_False 
) const

Returns the shape descendants.

◆ EdgeReplacement()

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.

◆ Edges() [1/2]

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

◆ Edges() [2/2]

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

◆ Explode() [1/2]

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>

◆ Explode() [2/2]

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>

◆ Generated()

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.

◆ HasAncestor()

Standard_Boolean BRepOffset_Analyse::HasAncestor ( const TopoDS_Shape theS) const
inline

Checks if the given shape has ancestors.

◆ HasGenerated()

Standard_Boolean BRepOffset_Analyse::HasGenerated ( const TopoDS_Shape theS) const
inline

Checks if the edge has generated a new face.

◆ IsDone()

Standard_Boolean BRepOffset_Analyse::IsDone ( ) const
inline

Returns status of the algorithm.

◆ NewFaces()

const TopTools_ListOfShape& BRepOffset_Analyse::NewFaces ( ) const
inline

Returns the new faces constructed between tangent faces having different offset values on the shape.

◆ Perform()

void BRepOffset_Analyse::Perform ( const TopoDS_Shape theS,
const Standard_Real  theAngle,
const Message_ProgressRange theRange = Message_ProgressRange() 
)

Performs the analysis.

◆ SetFaceOffsetMap()

void BRepOffset_Analyse::SetFaceOffsetMap ( const TopTools_DataMapOfShapeReal theMap)
inline

Sets the face-offset data map to analyze tangential cases.

◆ SetOffsetValue()

void BRepOffset_Analyse::SetOffsetValue ( const Standard_Real  theOffset)
inline

Returns status of the algorithm.

◆ TangentEdges()

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

◆ Type()

const BRepOffset_ListOfInterval& BRepOffset_Analyse::Type ( const TopoDS_Edge theE) const

Returns the connectivity type of the edge.


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