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

    The class provides tools for surface sampling. More...

    #include <IntPolyh_Tools.hxx>

    Static Public Member Functions

    static void IsEnlargePossible (const occ::handle< Adaptor3d_Surface > &theSurf, bool &theUEnlarge, bool &theVEnlarge)
     Checks if the surface can be enlarged in U or V direction.
    static void MakeSampling (const occ::handle< Adaptor3d_Surface > &theSurf, const int theNbSU, const int theNbSV, const bool theEnlargeZone, NCollection_Array1< double > &theUPars, NCollection_Array1< double > &theVPars)
     Makes the sampling of the given surface <theSurf> making the net of <theNbSU> x <theNbSV> sampling points. The flag <theEnlargeZone> controls the enlargement of the sampling zone on the surface. The parameters of the sampling points are stored into <theUPars> and <theVPars> arrays.
    static double ComputeDeflection (const occ::handle< Adaptor3d_Surface > &theSurf, const NCollection_Array1< double > &theUPars, const NCollection_Array1< double > &theVPars)
     Computes the deflection tolerance on the surface for the given sampling.
    static void FillArrayOfPointNormal (const occ::handle< Adaptor3d_Surface > &theSurf, const NCollection_Array1< double > &theUPars, const NCollection_Array1< double > &theVPars, IntPolyh_ArrayOfPointNormal &thePoints)
     Fills the array <thePoints> with the points (triangulation nodes) on the surface and normal directions of the surface in these points.

    Detailed Description

    The class provides tools for surface sampling.

    Member Function Documentation

    ◆ ComputeDeflection()

    double IntPolyh_Tools::ComputeDeflection ( const occ::handle< Adaptor3d_Surface > & theSurf,
    const NCollection_Array1< double > & theUPars,
    const NCollection_Array1< double > & theVPars )
    static

    Computes the deflection tolerance on the surface for the given sampling.

    ◆ FillArrayOfPointNormal()

    void IntPolyh_Tools::FillArrayOfPointNormal ( const occ::handle< Adaptor3d_Surface > & theSurf,
    const NCollection_Array1< double > & theUPars,
    const NCollection_Array1< double > & theVPars,
    IntPolyh_ArrayOfPointNormal & thePoints )
    static

    Fills the array <thePoints> with the points (triangulation nodes) on the surface and normal directions of the surface in these points.

    ◆ IsEnlargePossible()

    void IntPolyh_Tools::IsEnlargePossible ( const occ::handle< Adaptor3d_Surface > & theSurf,
    bool & theUEnlarge,
    bool & theVEnlarge )
    static

    Checks if the surface can be enlarged in U or V direction.

    ◆ MakeSampling()

    void IntPolyh_Tools::MakeSampling ( const occ::handle< Adaptor3d_Surface > & theSurf,
    const int theNbSU,
    const int theNbSV,
    const bool theEnlargeZone,
    NCollection_Array1< double > & theUPars,
    NCollection_Array1< double > & theVPars )
    static

    Makes the sampling of the given surface <theSurf> making the net of <theNbSU> x <theNbSV> sampling points. The flag <theEnlargeZone> controls the enlargement of the sampling zone on the surface. The parameters of the sampling points are stored into <theUPars> and <theVPars> arrays.


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