Open CASCADE Technology  7.7.0
Public Member Functions | Static Public Member Functions
GeomConvert_SurfToAnaSurf Class Reference

Converts a surface to the analitical form with given precision. Conversion is done only the surface is bspline of bezier and this can be approximed by some analytical surface with that precision. More...

#include <GeomConvert_SurfToAnaSurf.hxx>

Public Member Functions

 GeomConvert_SurfToAnaSurf ()
 
 GeomConvert_SurfToAnaSurf (const Handle< Geom_Surface > &S)
 
void Init (const Handle< Geom_Surface > &S)
 
void SetConvType (const GeomConvert_ConvType theConvType=GeomConvert_Simplest)
 
void SetTarget (const GeomAbs_SurfaceType theSurfType=GeomAbs_Plane)
 
Standard_Real Gap () const
 Returns maximal deviation of converted surface from the original one computed by last call to ConvertToAnalytical. More...
 
Handle< Geom_SurfaceConvertToAnalytical (const Standard_Real InitialToler)
 Tries to convert the Surface to an Analytic form Returns the result In case of failure, returns a Null Handle. More...
 
Handle< Geom_SurfaceConvertToAnalytical (const Standard_Real InitialToler, const Standard_Real Umin, const Standard_Real Umax, const Standard_Real Vmin, const Standard_Real Vmax)
 

Static Public Member Functions

static Standard_Boolean IsSame (const Handle< Geom_Surface > &S1, const Handle< Geom_Surface > &S2, const Standard_Real tol)
 Returns true if surfaces is same with the given tolerance. More...
 
static Standard_Boolean IsCanonical (const Handle< Geom_Surface > &S)
 Returns true, if surface is canonical. More...
 

Detailed Description

Converts a surface to the analitical form with given precision. Conversion is done only the surface is bspline of bezier and this can be approximed by some analytical surface with that precision.

Constructor & Destructor Documentation

◆ GeomConvert_SurfToAnaSurf() [1/2]

GeomConvert_SurfToAnaSurf::GeomConvert_SurfToAnaSurf ( )

◆ GeomConvert_SurfToAnaSurf() [2/2]

GeomConvert_SurfToAnaSurf::GeomConvert_SurfToAnaSurf ( const Handle< Geom_Surface > &  S)

Member Function Documentation

◆ ConvertToAnalytical() [1/2]

Handle< Geom_Surface > GeomConvert_SurfToAnaSurf::ConvertToAnalytical ( const Standard_Real  InitialToler)

Tries to convert the Surface to an Analytic form Returns the result In case of failure, returns a Null Handle.

◆ ConvertToAnalytical() [2/2]

Handle< Geom_Surface > GeomConvert_SurfToAnaSurf::ConvertToAnalytical ( const Standard_Real  InitialToler,
const Standard_Real  Umin,
const Standard_Real  Umax,
const Standard_Real  Vmin,
const Standard_Real  Vmax 
)

◆ Gap()

Standard_Real GeomConvert_SurfToAnaSurf::Gap ( ) const
inline

Returns maximal deviation of converted surface from the original one computed by last call to ConvertToAnalytical.

◆ Init()

void GeomConvert_SurfToAnaSurf::Init ( const Handle< Geom_Surface > &  S)

◆ IsCanonical()

static Standard_Boolean GeomConvert_SurfToAnaSurf::IsCanonical ( const Handle< Geom_Surface > &  S)
static

Returns true, if surface is canonical.

◆ IsSame()

static Standard_Boolean GeomConvert_SurfToAnaSurf::IsSame ( const Handle< Geom_Surface > &  S1,
const Handle< Geom_Surface > &  S2,
const Standard_Real  tol 
)
static

Returns true if surfaces is same with the given tolerance.

◆ SetConvType()

void GeomConvert_SurfToAnaSurf::SetConvType ( const GeomConvert_ConvType  theConvType = GeomConvert_Simplest)
inline

◆ SetTarget()

void GeomConvert_SurfToAnaSurf::SetTarget ( const GeomAbs_SurfaceType  theSurfType = GeomAbs_Plane)
inline

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