OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    ChFiDS_FilSpine Class Reference

    Provides data specific to the fillets - vector or rule of evolution (C2). More...

    #include <ChFiDS_FilSpine.hxx>

    Inheritance diagram for ChFiDS_FilSpine:

    Public Member Functions

     ChFiDS_FilSpine ()
     ChFiDS_FilSpine (const double Tol)
    void Reset (const bool AllData=false) override
    void SetRadius (const double Radius, const TopoDS_Edge &E)
     initializes the constant vector on edge E.
    void UnSetRadius (const TopoDS_Edge &E)
     resets the constant vector on edge E.
    void SetRadius (const double Radius, const TopoDS_Vertex &V)
     initializes the vector on Vertex V.
    void UnSetRadius (const TopoDS_Vertex &V)
     resets the vector on Vertex V.
    void SetRadius (const gp_XY &UandR, const int IinC)
     initializes the vector on the point of parameter W.
    void SetRadius (const double Radius)
     initializes the constant vector on all spine.
    void SetRadius (const occ::handle< Law_Function > &C, const int IinC)
     initializes the rule of evolution on all spine.
    bool IsConstant () const
     returns true if the radius is constant all along the spine.
    bool IsConstant (const int IE) const
     returns true if the radius is constant all along the edge E.
    double Radius () const
     returns the radius if the fillet is constant all along the spine.
    double Radius (const int IE) const
     returns the radius if the fillet is constant all along the edge E.
    double Radius (const TopoDS_Edge &E) const
     returns the radius if the fillet is constant all along the edge E.
    void AppendElSpine (const occ::handle< ChFiDS_ElSpine > &Els) override
    occ::handle< Law_CompositeLaw (const occ::handle< ChFiDS_ElSpine > &Els) const
    occ::handle< Law_Function > & ChangeLaw (const TopoDS_Edge &E)
     returns the elementary law
    double MaxRadFromSeqAndLaws () const
     returns the maximum radius if the fillet is non-constant
    Public Member Functions inherited from ChFiDS_Spine
     ChFiDS_Spine ()
     ChFiDS_Spine (const double Tol)
    void SetEdges (const TopoDS_Edge &E)
     store edges composing the guideline
    void SetOffsetEdges (const TopoDS_Edge &E)
     store offset edges composing the offset guideline
    void PutInFirst (const TopoDS_Edge &E)
     store the edge at the first position before all others
    void PutInFirstOffset (const TopoDS_Edge &E)
     store the offset edge at the first position before all others
    int NbEdges () const
    const TopoDS_EdgeEdges (const int I) const
    const TopoDS_EdgeOffsetEdges (const int I) const
    void SetFirstStatus (const ChFiDS_State S)
     stores if the start of a set of edges starts on a section of free border or forms a closed contour
    void SetLastStatus (const ChFiDS_State S)
     stores if the end of a set of edges starts on a section of free border or forms a closed contour
    virtual void AppendOffsetElSpine (const occ::handle< ChFiDS_ElSpine > &Els)
    occ::handle< ChFiDS_ElSpineElSpine (const int IE) const
    occ::handle< ChFiDS_ElSpineElSpine (const TopoDS_Edge &E) const
    occ::handle< ChFiDS_ElSpineElSpine (const double W) const
    NCollection_List< occ::handle< ChFiDS_ElSpine > > & ChangeElSpines ()
    NCollection_List< occ::handle< ChFiDS_ElSpine > > & ChangeOffsetElSpines ()
    bool SplitDone () const
    void SplitDone (const bool B)
    void Load ()
     prepare the guideline depending on the edges that are elementary arks (take parameters from a single curvilinear abscissa); to be able to call methods on the geometry (first,last,value,d1,d2) it is necessary to start with preparation otherwise an exception will be raised
    double Resolution (const double R3d) const
    bool IsClosed () const
    double FirstParameter () const
    double LastParameter () const
    void SetFirstParameter (const double Par)
    void SetLastParameter (const double Par)
    double FirstParameter (const int IndexSpine) const
     gives the total length of all arcs before the number IndexSp
    double LastParameter (const int IndexSpine) const
     gives the total length till the ark with number IndexSpine (inclus)
    double Length (const int IndexSpine) const
     gives the length of ark with number IndexSp
    bool IsPeriodic () const
    double Period () const
    double Absc (const double U)
    double Absc (const double U, const int I)
    void Parameter (const double AbsC, double &U, const bool Oriented=true)
    void Parameter (const int Index, const double AbsC, double &U, const bool Oriented=true)
    gp_Pnt Value (const double AbsC)
    void D0 (const double AbsC, gp_Pnt &P)
    void D1 (const double AbsC, gp_Pnt &P, gp_Vec &V1)
    void D2 (const double AbsC, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2)
    void SetCurrent (const int Index)
    const BRepAdaptor_CurveCurrentElementarySpine (const int Index)
     sets the current curve and returns it
    int CurrentIndexOfElementarySpine () const
    GeomAbs_CurveType GetType () const
    gp_Lin Line () const
    gp_Circ Circle () const
    ChFiDS_State FirstStatus () const
     returns if the set of edges starts on a free boundary or if the first vertex is a breakpoint or if the set is closed
    ChFiDS_State LastStatus () const
     returns the state at the end of the set
    ChFiDS_State Status (const bool IsFirst) const
    ChFiDS_TypeOfConcavity GetTypeOfConcavity () const
     returns the type of concavity in the connection
    void SetStatus (const ChFiDS_State S, const bool IsFirst)
    void SetTypeOfConcavity (const ChFiDS_TypeOfConcavity theType)
     sets the type of concavity in the connection
    bool IsTangencyExtremity (const bool IsFirst) const
     returns if the set of edges starts (or end) on Tangency point.
    void SetTangencyExtremity (const bool IsTangency, const bool IsFirst)
    double Absc (const TopoDS_Vertex &V) const
    TopoDS_Vertex FirstVertex () const
    TopoDS_Vertex LastVertex () const
    void SetFirstTgt (const double W)
    void SetLastTgt (const double W)
    bool HasFirstTgt () const
    bool HasLastTgt () const
    void SetReference (const double W)
     set a parameter reference for the approx.
    void SetReference (const int I)
     set a parameter reference for the approx, at the middle of edge I.
    int Index (const double W, const bool Forward=true) const
    int Index (const TopoDS_Edge &E) const
    void UnsetReference ()
    void SetErrorStatus (const ChFiDS_ErrorStatus state)
    ChFiDS_ErrorStatus ErrorStatus () const
    ChFiDS_ChamfMode Mode () const
     Return the mode of chamfers used.
    double GetTolesp () const
     Return tolesp parameter.
    Public Member Functions inherited from Standard_Transient
     Standard_Transient ()
     Empty constructor.
     Standard_Transient (const Standard_Transient &)
     Copy constructor – does nothing.
    Standard_Transientoperator= (const Standard_Transient &)
     Assignment operator, needed to avoid copying reference counter.
    virtual ~Standard_Transient ()=default
     Destructor must be virtual.
    virtual const opencascade::handle< Standard_Type > & DynamicType () const
     Returns a type descriptor about this object.
    bool IsInstance (const opencascade::handle< Standard_Type > &theType) const
     Returns a true value if this is an instance of Type.
    bool IsInstance (const char *const theTypeName) const
     Returns a true value if this is an instance of TypeName.
    bool IsKind (const opencascade::handle< Standard_Type > &theType) const
     Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
    bool IsKind (const char *const theTypeName) const
     Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
    Standard_TransientThis () const
     Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
    int GetRefCount () const noexcept
     Get the reference counter of this object.
    void IncrementRefCounter () noexcept
     Increments the reference counter of this object. Uses relaxed memory ordering since incrementing only requires atomicity, not synchronization with other memory operations.
    int DecrementRefCounter () noexcept
     Decrements the reference counter of this object; returns the decremented value. Uses release ordering for the decrement to ensure all writes to the object are visible before the count reaches zero. An acquire fence is added only when the count reaches zero, ensuring proper synchronization before deletion. This is more efficient than using acq_rel for every decrement.
    virtual void Delete () const
     Memory deallocator for transient classes.

    Additional Inherited Members

    typedef void base_type
     Returns a type descriptor about this object.
    static constexpr const char * get_type_name ()
     Returns a type descriptor about this object.
    static const opencascade::handle< Standard_Type > & get_type_descriptor ()
     Returns type descriptor of Standard_Transient class.
    Protected Attributes inherited from ChFiDS_Spine
    bool splitdone
    NCollection_List< occ::handle< ChFiDS_ElSpine > > elspines
    NCollection_List< occ::handle< ChFiDS_ElSpine > > offset_elspines
    ChFiDS_ChamfMode myMode

    Detailed Description

    Provides data specific to the fillets - vector or rule of evolution (C2).

    Constructor & Destructor Documentation

    ◆ ChFiDS_FilSpine() [1/2]

    ChFiDS_FilSpine::ChFiDS_FilSpine ( )

    ◆ ChFiDS_FilSpine() [2/2]

    ChFiDS_FilSpine::ChFiDS_FilSpine ( const double Tol)

    Member Function Documentation

    ◆ AppendElSpine()

    void ChFiDS_FilSpine::AppendElSpine ( const occ::handle< ChFiDS_ElSpine > & Els)
    overridevirtual

    Reimplemented from ChFiDS_Spine.

    ◆ ChangeLaw()

    occ::handle< Law_Function > & ChFiDS_FilSpine::ChangeLaw ( const TopoDS_Edge & E)

    returns the elementary law

    ◆ IsConstant() [1/2]

    bool ChFiDS_FilSpine::IsConstant ( ) const

    returns true if the radius is constant all along the spine.

    ◆ IsConstant() [2/2]

    bool ChFiDS_FilSpine::IsConstant ( const int IE) const

    returns true if the radius is constant all along the edge E.

    ◆ Law()

    occ::handle< Law_Composite > ChFiDS_FilSpine::Law ( const occ::handle< ChFiDS_ElSpine > & Els) const

    ◆ MaxRadFromSeqAndLaws()

    double ChFiDS_FilSpine::MaxRadFromSeqAndLaws ( ) const

    returns the maximum radius if the fillet is non-constant

    ◆ Radius() [1/3]

    double ChFiDS_FilSpine::Radius ( ) const

    returns the radius if the fillet is constant all along the spine.

    ◆ Radius() [2/3]

    double ChFiDS_FilSpine::Radius ( const int IE) const

    returns the radius if the fillet is constant all along the edge E.

    ◆ Radius() [3/3]

    double ChFiDS_FilSpine::Radius ( const TopoDS_Edge & E) const

    returns the radius if the fillet is constant all along the edge E.

    ◆ Reset()

    void ChFiDS_FilSpine::Reset ( const bool AllData = false)
    overridevirtual

    Reimplemented from ChFiDS_Spine.

    ◆ SetRadius() [1/5]

    void ChFiDS_FilSpine::SetRadius ( const double Radius)

    initializes the constant vector on all spine.

    ◆ SetRadius() [2/5]

    void ChFiDS_FilSpine::SetRadius ( const double Radius,
    const TopoDS_Edge & E )

    initializes the constant vector on edge E.

    ◆ SetRadius() [3/5]

    void ChFiDS_FilSpine::SetRadius ( const double Radius,
    const TopoDS_Vertex & V )

    initializes the vector on Vertex V.

    ◆ SetRadius() [4/5]

    void ChFiDS_FilSpine::SetRadius ( const gp_XY & UandR,
    const int IinC )

    initializes the vector on the point of parameter W.

    ◆ SetRadius() [5/5]

    void ChFiDS_FilSpine::SetRadius ( const occ::handle< Law_Function > & C,
    const int IinC )

    initializes the rule of evolution on all spine.

    ◆ UnSetRadius() [1/2]

    void ChFiDS_FilSpine::UnSetRadius ( const TopoDS_Edge & E)

    resets the constant vector on edge E.

    ◆ UnSetRadius() [2/2]

    void ChFiDS_FilSpine::UnSetRadius ( const TopoDS_Vertex & V)

    resets the vector on Vertex V.


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