OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepTopAdaptor_TopolTool Class Reference

    #include <BRepTopAdaptor_TopolTool.hxx>

    Inheritance diagram for BRepTopAdaptor_TopolTool:

    Public Member Functions

     BRepTopAdaptor_TopolTool ()
     BRepTopAdaptor_TopolTool (const occ::handle< Adaptor3d_Surface > &Surface)
    void Initialize () override
    void Initialize (const occ::handle< Adaptor3d_Surface > &S) override
    void Initialize (const occ::handle< Adaptor2d_Curve2d > &Curve) override
    void Init () override
    bool More () override
    occ::handle< Adaptor2d_Curve2d > Value () override
    void Next () override
    void * Edge () const override
    void InitVertexIterator () override
    bool MoreVertex () override
    occ::handle< Adaptor3d_HVertex > Vertex () override
    void NextVertex () override
    TopAbs_State Classify (const gp_Pnt2d &P2d, const double Tol, const bool RecadreOnPeriodic=true) override
    bool IsThePointOn (const gp_Pnt2d &P2d, const double Tol, const bool RecadreOnPeriodic=true) override
     see the code for specifications)
    TopAbs_Orientation Orientation (const occ::handle< Adaptor2d_Curve2d > &C) override
     If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a "real" limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface.
    TopAbs_Orientation Orientation (const occ::handle< Adaptor3d_HVertex > &C) override
     If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a "real" limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface.
    void Destroy ()
     ~BRepTopAdaptor_TopolTool () override
    bool Has3d () const override
     answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods.
    double Tol3d (const occ::handle< Adaptor2d_Curve2d > &C) const override
     returns 3d tolerance of the arc C
    double Tol3d (const occ::handle< Adaptor3d_HVertex > &V) const override
     returns 3d tolerance of the vertex V
    gp_Pnt Pnt (const occ::handle< Adaptor3d_HVertex > &V) const override
     returns 3d point of the vertex V
    void ComputeSamplePoints () override
    int NbSamplesU () override
     compute the sample-points for the intersections algorithms
    int NbSamplesV () override
     compute the sample-points for the intersections algorithms
    int NbSamples () override
     compute the sample-points for the intersections algorithms
    void SamplePoint (const int Index, gp_Pnt2d &P2d, gp_Pnt &P3d) override
    bool DomainIsInfinite () override
    Public Member Functions inherited from Adaptor3d_TopolTool
     Adaptor3d_TopolTool ()
     Adaptor3d_TopolTool (const occ::handle< Adaptor3d_Surface > &Surface)
    virtual bool Identical (const occ::handle< Adaptor3d_HVertex > &V1, const occ::handle< Adaptor3d_HVertex > &V2)
     Returns True if the vertices V1 and V2 are identical. This method does not take the orientation of the vertices in account.
    void UParameters (NCollection_Array1< double > &theArray) const
     return the set of U parameters on the surface obtained by the method SamplePnts
    void VParameters (NCollection_Array1< double > &theArray) const
     return the set of V parameters on the surface obtained by the method SamplePnts
    virtual void SamplePnts (const double theDefl, const int theNUmin, const int theNVmin)
     Compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces. For other surfaces algorithm is the same as in method ComputeSamplePoints(), but only fill arrays of U and V sample parameters;.
    virtual void BSplSamplePnts (const double theDefl, const int theNUmin, const int theNVmin)
     Compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces - is used in SamplePnts.
    virtual bool IsUniformSampling () const
     Returns true if provide uniform sampling of points.
    Public Member Functions inherited from Standard_Transient
     Standard_Transient ()
     Empty constructor.
     Standard_Transient (const Standard_Transient &)
     Copy constructor – does nothing.
    Standard_Transient & operator= (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_Transient * This () 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 Public Member Functions inherited from Adaptor3d_TopolTool
    static void GetConeApexParam (const gp_Cone &theC, double &theU, double &theV)
     Computes the cone's apex parameters.
    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 Adaptor3d_TopolTool
    occ::handle< Adaptor3d_Surface > myS
    int myNbSamplesU
    int myNbSamplesV
    occ::handle< NCollection_HArray1< double > > myUPars
    occ::handle< NCollection_HArray1< double > > myVPars

    Constructor & Destructor Documentation

    ◆ BRepTopAdaptor_TopolTool() [1/2]

    BRepTopAdaptor_TopolTool::BRepTopAdaptor_TopolTool ( )

    ◆ BRepTopAdaptor_TopolTool() [2/2]

    BRepTopAdaptor_TopolTool::BRepTopAdaptor_TopolTool ( const occ::handle< Adaptor3d_Surface > & Surface)

    ◆ ~BRepTopAdaptor_TopolTool()

    BRepTopAdaptor_TopolTool::~BRepTopAdaptor_TopolTool ( )
    inlineoverride

    Member Function Documentation

    ◆ Classify()

    TopAbs_State BRepTopAdaptor_TopolTool::Classify ( const gp_Pnt2d & P2d,
    const double Tol,
    const bool RecadreOnPeriodic = true )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ ComputeSamplePoints()

    void BRepTopAdaptor_TopolTool::ComputeSamplePoints ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Destroy()

    void BRepTopAdaptor_TopolTool::Destroy ( )

    ◆ DomainIsInfinite()

    bool BRepTopAdaptor_TopolTool::DomainIsInfinite ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Edge()

    void * BRepTopAdaptor_TopolTool::Edge ( ) const
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Has3d()

    bool BRepTopAdaptor_TopolTool::Has3d ( ) const
    overridevirtual

    answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods.

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Init()

    void BRepTopAdaptor_TopolTool::Init ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Initialize() [1/3]

    void BRepTopAdaptor_TopolTool::Initialize ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Initialize() [2/3]

    void BRepTopAdaptor_TopolTool::Initialize ( const occ::handle< Adaptor2d_Curve2d > & Curve)
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Initialize() [3/3]

    void BRepTopAdaptor_TopolTool::Initialize ( const occ::handle< Adaptor3d_Surface > & S)
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ InitVertexIterator()

    void BRepTopAdaptor_TopolTool::InitVertexIterator ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ IsThePointOn()

    bool BRepTopAdaptor_TopolTool::IsThePointOn ( const gp_Pnt2d & P2d,
    const double Tol,
    const bool RecadreOnPeriodic = true )
    overridevirtual

    see the code for specifications)

    Reimplemented from Adaptor3d_TopolTool.

    ◆ More()

    bool BRepTopAdaptor_TopolTool::More ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ MoreVertex()

    bool BRepTopAdaptor_TopolTool::MoreVertex ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ NbSamples()

    int BRepTopAdaptor_TopolTool::NbSamples ( )
    overridevirtual

    compute the sample-points for the intersections algorithms

    Reimplemented from Adaptor3d_TopolTool.

    ◆ NbSamplesU()

    int BRepTopAdaptor_TopolTool::NbSamplesU ( )
    overridevirtual

    compute the sample-points for the intersections algorithms

    Reimplemented from Adaptor3d_TopolTool.

    ◆ NbSamplesV()

    int BRepTopAdaptor_TopolTool::NbSamplesV ( )
    overridevirtual

    compute the sample-points for the intersections algorithms

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Next()

    void BRepTopAdaptor_TopolTool::Next ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ NextVertex()

    void BRepTopAdaptor_TopolTool::NextVertex ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Orientation() [1/2]

    TopAbs_Orientation BRepTopAdaptor_TopolTool::Orientation ( const occ::handle< Adaptor2d_Curve2d > & C)
    overridevirtual

    If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a "real" limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface.

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Orientation() [2/2]

    TopAbs_Orientation BRepTopAdaptor_TopolTool::Orientation ( const occ::handle< Adaptor3d_HVertex > & C)
    overridevirtual

    If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a "real" limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface.

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Pnt()

    gp_Pnt BRepTopAdaptor_TopolTool::Pnt ( const occ::handle< Adaptor3d_HVertex > & V) const
    overridevirtual

    returns 3d point of the vertex V

    Reimplemented from Adaptor3d_TopolTool.

    ◆ SamplePoint()

    void BRepTopAdaptor_TopolTool::SamplePoint ( const int Index,
    gp_Pnt2d & P2d,
    gp_Pnt & P3d )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Tol3d() [1/2]

    double BRepTopAdaptor_TopolTool::Tol3d ( const occ::handle< Adaptor2d_Curve2d > & C) const
    overridevirtual

    returns 3d tolerance of the arc C

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Tol3d() [2/2]

    double BRepTopAdaptor_TopolTool::Tol3d ( const occ::handle< Adaptor3d_HVertex > & V) const
    overridevirtual

    returns 3d tolerance of the vertex V

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Value()

    occ::handle< Adaptor2d_Curve2d > BRepTopAdaptor_TopolTool::Value ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.

    ◆ Vertex()

    occ::handle< Adaptor3d_HVertex > BRepTopAdaptor_TopolTool::Vertex ( )
    overridevirtual

    Reimplemented from Adaptor3d_TopolTool.


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