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
    GeomFill_BoundWithSurf Class Reference

    Defines a 3d curve as a boundary for a GeomFill_ConstrainedFilling algorithm. This curve is attached to an existing surface. Defines a constrained boundary for filling the computations are done with a CurveOnSurf and a normals field defined by the normalized normal to the surface along the PCurve. Contains fields to allow a reparametrization of curve and normals field. More...

    #include <GeomFill_BoundWithSurf.hxx>

    Inheritance diagram for GeomFill_BoundWithSurf:

    Public Member Functions

     GeomFill_BoundWithSurf (const Adaptor3d_CurveOnSurface &CurveOnSurf, const double Tol3d, const double Tolang)
     Constructs a boundary object defined by the 3d curve CurveOnSurf. The surface to be filled along this boundary will be in the tolerance range defined by Tol3d. What's more, at each point of CurveOnSurf, the angle between the normal to the surface to be filled along this boundary, and the normal to the surface on which CurveOnSurf lies, must not be greater than TolAng. This object is to be used as a boundary for a GeomFill_ConstrainedFilling framework. Warning CurveOnSurf is an adapted curve, that is, an object which is an interface between:
    gp_Pnt Value (const double U) const override
    void D1 (const double U, gp_Pnt &P, gp_Vec &V) const override
    bool HasNormals () const override
    gp_Vec Norm (const double U) const override
    void D1Norm (const double U, gp_Vec &N, gp_Vec &DN) const override
    void Reparametrize (const double First, const double Last, const bool HasDF, const bool HasDL, const double DF, const double DL, const bool Rev) override
    void Bounds (double &First, double &Last) const override
    bool IsDegenerated () const override
    Public Member Functions inherited from GeomFill_Boundary
    void Points (gp_Pnt &PFirst, gp_Pnt &PLast) const
    double Tol3d () const
    void Tol3d (const double Tol)
    double Tolang () const
    void Tolang (const double Tol)
    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 Member Functions inherited from GeomFill_Boundary
     GeomFill_Boundary (const double Tol3d, const double Tolang)

    Detailed Description

    Defines a 3d curve as a boundary for a GeomFill_ConstrainedFilling algorithm. This curve is attached to an existing surface. Defines a constrained boundary for filling the computations are done with a CurveOnSurf and a normals field defined by the normalized normal to the surface along the PCurve. Contains fields to allow a reparametrization of curve and normals field.

    Constructor & Destructor Documentation

    ◆ GeomFill_BoundWithSurf()

    GeomFill_BoundWithSurf::GeomFill_BoundWithSurf ( const Adaptor3d_CurveOnSurface & CurveOnSurf,
    const double Tol3d,
    const double Tolang )

    Constructs a boundary object defined by the 3d curve CurveOnSurf. The surface to be filled along this boundary will be in the tolerance range defined by Tol3d. What's more, at each point of CurveOnSurf, the angle between the normal to the surface to be filled along this boundary, and the normal to the surface on which CurveOnSurf lies, must not be greater than TolAng. This object is to be used as a boundary for a GeomFill_ConstrainedFilling framework. Warning CurveOnSurf is an adapted curve, that is, an object which is an interface between:

    Member Function Documentation

    ◆ Bounds()

    void GeomFill_BoundWithSurf::Bounds ( double & First,
    double & Last ) const
    overridevirtual

    Implements GeomFill_Boundary.

    ◆ D1()

    void GeomFill_BoundWithSurf::D1 ( const double U,
    gp_Pnt & P,
    gp_Vec & V ) const
    overridevirtual

    Implements GeomFill_Boundary.

    ◆ D1Norm()

    void GeomFill_BoundWithSurf::D1Norm ( const double U,
    gp_Vec & N,
    gp_Vec & DN ) const
    overridevirtual

    Reimplemented from GeomFill_Boundary.

    ◆ HasNormals()

    bool GeomFill_BoundWithSurf::HasNormals ( ) const
    overridevirtual

    Reimplemented from GeomFill_Boundary.

    ◆ IsDegenerated()

    bool GeomFill_BoundWithSurf::IsDegenerated ( ) const
    overridevirtual

    Implements GeomFill_Boundary.

    ◆ Norm()

    gp_Vec GeomFill_BoundWithSurf::Norm ( const double U) const
    overridevirtual

    Reimplemented from GeomFill_Boundary.

    ◆ Reparametrize()

    void GeomFill_BoundWithSurf::Reparametrize ( const double First,
    const double Last,
    const bool HasDF,
    const bool HasDL,
    const double DF,
    const double DL,
    const bool Rev )
    overridevirtual

    Implements GeomFill_Boundary.

    ◆ Value()

    gp_Pnt GeomFill_BoundWithSurf::Value ( const double U) const
    overridevirtual

    Implements GeomFill_Boundary.


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