Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
GeomConvert_SurfToAnaSurf Class Reference

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

#include <GeomConvert_SurfToAnaSurf.hxx>

Public Member Functions

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

Static Public Member Functions

static bool IsSame (const occ::handle< Geom_Surface > &S1, const occ::handle< Geom_Surface > &S2, const double tol)
 Returns true if surfaces is same with the given tolerance.
 
static bool IsCanonical (const occ::handle< Geom_Surface > &S)
 Returns true, if surface is canonical.
 

Detailed Description

Converts a surface to the analytical form with given precision. Conversion is done only the surface is bspline of bezier and this can be approximated 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 occ::handle< Geom_Surface > & S)

Member Function Documentation

◆ ConvertToAnalytical() [1/2]

occ::handle< Geom_Surface > GeomConvert_SurfToAnaSurf::ConvertToAnalytical ( const double InitialToler)

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

◆ ConvertToAnalytical() [2/2]

occ::handle< Geom_Surface > GeomConvert_SurfToAnaSurf::ConvertToAnalytical ( const double InitialToler,
const double Umin,
const double Umax,
const double Vmin,
const double Vmax )

◆ Gap()

double 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 occ::handle< Geom_Surface > & S)

◆ IsCanonical()

static bool GeomConvert_SurfToAnaSurf::IsCanonical ( const occ::handle< Geom_Surface > & S)
static

Returns true, if surface is canonical.

◆ IsSame()

static bool GeomConvert_SurfToAnaSurf::IsSame ( const occ::handle< Geom_Surface > & S1,
const occ::handle< Geom_Surface > & S2,
const double 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: