![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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_Surface > | ConvertToAnalytical (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_Surface > | ConvertToAnalytical (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. | |
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.
| GeomConvert_SurfToAnaSurf::GeomConvert_SurfToAnaSurf | ( | ) |
| GeomConvert_SurfToAnaSurf::GeomConvert_SurfToAnaSurf | ( | const occ::handle< Geom_Surface > & | S | ) |
| 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.
| occ::handle< Geom_Surface > GeomConvert_SurfToAnaSurf::ConvertToAnalytical | ( | const double | InitialToler, |
| const double | Umin, | ||
| const double | Umax, | ||
| const double | Vmin, | ||
| const double | Vmax ) |
|
inline |
Returns maximal deviation of converted surface from the original one computed by last call to ConvertToAnalytical.
| void GeomConvert_SurfToAnaSurf::Init | ( | const occ::handle< Geom_Surface > & | S | ) |
|
static |
Returns true, if surface is canonical.
|
static |
Returns true if surfaces is same with the given tolerance.
|
inline |
|
inline |