|
Open CASCADE Technology 6.5.2
|
A framework to convert a surface to a BSpline
surface. This is done by approximation to a BSpline
surface within a given tolerance.
#include <GeomConvert_ApproxSurface.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| GeomConvert_ApproxSurface (const Handle< Geom_Surface > &Surf, const Standard_Real Tol3d, const GeomAbs_Shape UContinuity, const GeomAbs_Shape VContinuity, const Standard_Integer MaxDegU, const Standard_Integer MaxDegV, const Standard_Integer MaxSegments, const Standard_Integer PrecisCode) | |
| Constructs a surface approximation framework defined by | |
| Handle_Geom_BSplineSurface | Surface () const |
| Returns the BSpline surface resulting from the approximation algorithm. | |
| Standard_Boolean | IsDone () const |
| Returns Standard_True if the approximation has be done | |
| Standard_Boolean | 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. | |
| Standard_Real | 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 informations on the current state of the object. | |
| GeomConvert_ApproxSurface::GeomConvert_ApproxSurface | ( | const Handle< Geom_Surface > & | Surf, |
| const Standard_Real | Tol3d, | ||
| const GeomAbs_Shape | UContinuity, | ||
| const GeomAbs_Shape | VContinuity, | ||
| const Standard_Integer | MaxDegU, | ||
| const Standard_Integer | MaxDegV, | ||
| const Standard_Integer | MaxSegments, | ||
| const Standard_Integer | PrecisCode | ||
| ) |
| void GeomConvert_ApproxSurface::Dump | ( | Standard_OStream & | o | ) | const |
| Standard_Boolean GeomConvert_ApproxSurface::HasResult | ( | ) | const |
| Standard_Boolean GeomConvert_ApproxSurface::IsDone | ( | ) | const |
| Standard_Real GeomConvert_ApproxSurface::MaxError | ( | ) | const |
| void GeomConvert_ApproxSurface::operator delete | ( | void * | anAddress | ) | [inline] |
| void* GeomConvert_ApproxSurface::operator new | ( | size_t | size | ) | [inline] |
| void* GeomConvert_ApproxSurface::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| Handle_Geom_BSplineSurface GeomConvert_ApproxSurface::Surface | ( | ) | const |
1.7.4