![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
A framework to convert a surface to a BSpline surface. This is done by approximation to a BSpline surface within a given tolerance. More...
#include <GeomConvert_ApproxSurface.hxx>
Public Member Functions | |
| GeomConvert_ApproxSurface (const occ::handle< Geom_Surface > &Surf, const double Tol3d, const GeomAbs_Shape UContinuity, const GeomAbs_Shape VContinuity, const int MaxDegU, const int MaxDegV, const int MaxSegments, const int PrecisCode) | |
| Constructs a surface approximation framework defined by. | |
| GeomConvert_ApproxSurface (const occ::handle< Adaptor3d_Surface > &Surf, const double Tol3d, const GeomAbs_Shape UContinuity, const GeomAbs_Shape VContinuity, const int MaxDegU, const int MaxDegV, const int MaxSegments, const int PrecisCode) | |
| Constructs a surface approximation framework defined by. | |
| occ::handle< Geom_BSplineSurface > | Surface () const |
| Returns the BSpline surface resulting from the approximation algorithm. | |
| bool | IsDone () const |
| Returns true if the approximation has be done. | |
| bool | HasResult () const |
| Returns true if the approximation did come out with a result that is not NECESSARILY within the required tolerance or a result that is not recognized with the wished continuities. | |
| double | MaxError () const |
| Returns the greatest distance between a point on the source conic surface and the BSpline surface resulting from the approximation (>0 when an approximation has been done, 0 if no approximation ) | |
| void | Dump (Standard_OStream &o) const |
| Prints on the stream o information on the current state of the object. | |
A framework to convert a surface to a BSpline surface. This is done by approximation to a BSpline surface within a given tolerance.
| GeomConvert_ApproxSurface::GeomConvert_ApproxSurface | ( | const occ::handle< Geom_Surface > & | Surf, |
| const double | Tol3d, | ||
| const GeomAbs_Shape | UContinuity, | ||
| const GeomAbs_Shape | VContinuity, | ||
| const int | MaxDegU, | ||
| const int | MaxDegV, | ||
| const int | MaxSegments, | ||
| const int | PrecisCode ) |
Constructs a surface approximation framework defined by.
| GeomConvert_ApproxSurface::GeomConvert_ApproxSurface | ( | const occ::handle< Adaptor3d_Surface > & | Surf, |
| const double | Tol3d, | ||
| const GeomAbs_Shape | UContinuity, | ||
| const GeomAbs_Shape | VContinuity, | ||
| const int | MaxDegU, | ||
| const int | MaxDegV, | ||
| const int | MaxSegments, | ||
| const int | PrecisCode ) |
Constructs a surface approximation framework defined by.
| void GeomConvert_ApproxSurface::Dump | ( | Standard_OStream & | o | ) | const |
Prints on the stream o information on the current state of the object.
| bool GeomConvert_ApproxSurface::HasResult | ( | ) | const |
Returns true if the approximation did come out with a result that is not NECESSARILY within the required tolerance or a result that is not recognized with the wished continuities.
| bool GeomConvert_ApproxSurface::IsDone | ( | ) | const |
Returns true if the approximation has be done.
| double GeomConvert_ApproxSurface::MaxError | ( | ) | const |
Returns the greatest distance between a point on the source conic surface and the BSpline surface resulting from the approximation (>0 when an approximation has been done, 0 if no approximation )
| occ::handle< Geom_BSplineSurface > GeomConvert_ApproxSurface::Surface | ( | ) | const |
Returns the BSpline surface resulting from the approximation algorithm.