Open CASCADE Technology  7.4.0
Static Public Member Functions
IntPolyh_Tools Class Reference

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

#include <IntPolyh_Tools.hxx>

Static Public Member Functions

static void IsEnlargePossible (const Handle< Adaptor3d_HSurface > &theSurf, Standard_Boolean &theUEnlarge, Standard_Boolean &theVEnlarge)
 Checks if the surface can be enlarged in U or V direction. More...
 
static void MakeSampling (const Handle< Adaptor3d_HSurface > &theSurf, const Standard_Integer theNbSU, const Standard_Integer theNbSV, const Standard_Boolean theEnlargeZone, TColStd_Array1OfReal &theUPars, TColStd_Array1OfReal &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. More...
 
static Standard_Real ComputeDeflection (const Handle< Adaptor3d_HSurface > &theSurf, const TColStd_Array1OfReal &theUPars, const TColStd_Array1OfReal &theVPars)
 Computes the deflection tolerance on the surface for the given sampling. More...
 
static void FillArrayOfPointNormal (const Handle< Adaptor3d_HSurface > &theSurf, const TColStd_Array1OfReal &theUPars, const TColStd_Array1OfReal &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. More...
 

Detailed Description

The class provides tools for surface sampling.

Member Function Documentation

◆ ComputeDeflection()

static Standard_Real IntPolyh_Tools::ComputeDeflection ( const Handle< Adaptor3d_HSurface > &  theSurf,
const TColStd_Array1OfReal theUPars,
const TColStd_Array1OfReal theVPars 
)
static

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

◆ FillArrayOfPointNormal()

static void IntPolyh_Tools::FillArrayOfPointNormal ( const Handle< Adaptor3d_HSurface > &  theSurf,
const TColStd_Array1OfReal theUPars,
const TColStd_Array1OfReal 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()

static void IntPolyh_Tools::IsEnlargePossible ( const Handle< Adaptor3d_HSurface > &  theSurf,
Standard_Boolean theUEnlarge,
Standard_Boolean theVEnlarge 
)
static

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

◆ MakeSampling()

static void IntPolyh_Tools::MakeSampling ( const Handle< Adaptor3d_HSurface > &  theSurf,
const Standard_Integer  theNbSU,
const Standard_Integer  theNbSV,
const Standard_Boolean  theEnlargeZone,
TColStd_Array1OfReal theUPars,
TColStd_Array1OfReal 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: