Open CASCADE Technology 7.8.0
|
The class provides tools for surface sampling. More...
#include <IntPolyh_Tools.hxx>
Static Public Member Functions | |
static void | IsEnlargePossible (const Handle< Adaptor3d_Surface > &theSurf, Standard_Boolean &theUEnlarge, Standard_Boolean &theVEnlarge) |
Checks if the surface can be enlarged in U or V direction. | |
static void | MakeSampling (const Handle< Adaptor3d_Surface > &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. | |
static Standard_Real | ComputeDeflection (const Handle< Adaptor3d_Surface > &theSurf, const TColStd_Array1OfReal &theUPars, const TColStd_Array1OfReal &theVPars) |
Computes the deflection tolerance on the surface for the given sampling. | |
static void | FillArrayOfPointNormal (const Handle< Adaptor3d_Surface > &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. | |
The class provides tools for surface sampling.
|
static |
Computes the deflection tolerance on the surface for the given sampling.
|
static |
Fills the array <thePoints> with the points (triangulation nodes) on the surface and normal directions of the surface in these points.
|
static |
Checks if the surface can be enlarged in U or V direction.
|
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.