OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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

    Empty c-tor

     BRepOffset_Analyse ()
     C-tor performing the job inside.
     BRepOffset_Analyse (const TopoDS_Shape &theS, const double theAngle)
     C-tor performing the job inside.
    Performing analysis

    Performs the analysis

    void Perform (const TopoDS_Shape &theS, const double theAngle, const Message_ProgressRange &theRange=Message_ProgressRange())
    Results

    Returns status of the algorithm

    bool IsDone () const
     Returns the connectivity type of the edge.
    const NCollection_List< BRepOffset_Interval > & Type (const TopoDS_Edge &theE) const
     Returns the connectivity type of the edge.
    void Edges (const TopoDS_Vertex &theV, const ChFiDS_TypeOfConcavity theType, NCollection_List< TopoDS_Shape > &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, NCollection_List< TopoDS_Shape > &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, NCollection_List< TopoDS_Shape > &theEdges) const
     set in <Edges> all the Edges of <Shape> which are tangent to <Edge> at the vertex <Vertex>.
    bool HasAncestor (const TopoDS_Shape &theS) const
     Checks if the given shape has ancestors.
    const NCollection_List< TopoDS_Shape > & Ancestors (const TopoDS_Shape &theS) const
     Returns ancestors for the shape.
    void Explode (NCollection_List< TopoDS_Shape > &theL, const ChFiDS_TypeOfConcavity theType) const
     Explode in compounds of faces where all the connex edges are of type <Side>.
    void Explode (NCollection_List< TopoDS_Shape > &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, NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHasher > &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, NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHasher > &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 double theOffset)
     Returns the connectivity type of the edge.
    void SetFaceOffsetMap (const NCollection_DataMap< TopoDS_Shape, double, TopTools_ShapeMapHasher > &theMap)
     Sets the face-offset data map to analyze tangential cases.
    const NCollection_List< TopoDS_Shape > & 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.
    bool 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 NCollection_List< TopoDS_Shape > * Descendants (const TopoDS_Shape &theS, const bool theUpdate=false) const
     Returns the shape descendants.
    Clearing the content

    Clears the content of the algorithm

    void Clear ()

    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 ( )

    C-tor performing the job inside.

    ◆ BRepOffset_Analyse() [2/2]

    BRepOffset_Analyse::BRepOffset_Analyse ( const TopoDS_Shape & theS,
    const double theAngle )

    C-tor performing the job inside.

    Member Function Documentation

    ◆ AddFaces() [1/2]

    void BRepOffset_Analyse::AddFaces ( const TopoDS_Face & theFace,
    TopoDS_Compound & theCo,
    NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHasher > & 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,
    NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHasher > & 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 NCollection_List< TopoDS_Shape > & BRepOffset_Analyse::Ancestors ( const TopoDS_Shape & theS) const
    inline

    Returns ancestors for the shape.

    ◆ Clear()

    void BRepOffset_Analyse::Clear ( )

    ◆ Descendants()

    const NCollection_List< TopoDS_Shape > * BRepOffset_Analyse::Descendants ( const TopoDS_Shape & theS,
    const bool theUpdate = 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,
    NCollection_List< TopoDS_Shape > & 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,
    NCollection_List< TopoDS_Shape > & theL ) const

    Stores in <L> all the edges of Type <T> on the vertex <V>.

    ◆ Explode() [1/2]

    void BRepOffset_Analyse::Explode ( NCollection_List< TopoDS_Shape > & 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 ( NCollection_List< TopoDS_Shape > & 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()

    bool BRepOffset_Analyse::HasAncestor ( const TopoDS_Shape & theS) const
    inline

    Checks if the given shape has ancestors.

    ◆ HasGenerated()

    bool BRepOffset_Analyse::HasGenerated ( const TopoDS_Shape & theS) const
    inline

    Checks if the edge has generated a new face.

    ◆ IsDone()

    bool BRepOffset_Analyse::IsDone ( ) const
    inline

    Returns the connectivity type of the edge.

    ◆ NewFaces()

    const NCollection_List< TopoDS_Shape > & 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 double theAngle,
    const Message_ProgressRange & theRange = Message_ProgressRange() )

    ◆ SetFaceOffsetMap()

    void BRepOffset_Analyse::SetFaceOffsetMap ( const NCollection_DataMap< TopoDS_Shape, double, TopTools_ShapeMapHasher > & theMap)
    inline

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

    ◆ SetOffsetValue()

    void BRepOffset_Analyse::SetOffsetValue ( const double theOffset)
    inline

    Returns the connectivity type of the edge.

    ◆ TangentEdges()

    void BRepOffset_Analyse::TangentEdges ( const TopoDS_Edge & theEdge,
    const TopoDS_Vertex & theVertex,
    NCollection_List< TopoDS_Shape > & theEdges ) const

    set in <Edges> all the Edges of <Shape> which are tangent to <Edge> at the vertex <Vertex>.

    ◆ Type()

    const NCollection_List< BRepOffset_Interval > & 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: