Open CASCADE Technology
7.7.0
|
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_Surface > | 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. More... | |
Handle< Geom_Surface > | ConvertToAnalytical (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... | |
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.
GeomConvert_SurfToAnaSurf::GeomConvert_SurfToAnaSurf | ( | ) |
GeomConvert_SurfToAnaSurf::GeomConvert_SurfToAnaSurf | ( | const Handle< Geom_Surface > & | S | ) |
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.
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 | ||
) |
|
inline |
Returns maximal deviation of converted surface from the original one computed by last call to ConvertToAnalytical.
void GeomConvert_SurfToAnaSurf::Init | ( | const Handle< Geom_Surface > & | S | ) |
|
static |
Returns true, if surface is canonical.
|
static |
Returns true if surfaces is same with the given tolerance.
|
inline |
|
inline |