OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKGeomAlgo
GeomPlate


GeomPlate_MakeApprox Class Reference

Allows you to convert a GeomPlate surface into a BSpline.
.

#include <GeomPlate_MakeApprox.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT GeomPlate_MakeApprox (const Handle(GeomPlate_Surface)&SurfPlate, const AdvApp2Var_Criterion &PlateCrit, const Standard_Real Tol3d, const Standard_Integer Nbmax, const Standard_Integer dgmax, const GeomAbs_Shape Continuity=GeomAbs_C1, const Standard_Real EnlargeCoeff=1.1)
 Converts SurfPlate into a Geom_BSplineSurface with
n Bezier pieces (n<=Nbmax) of degree <= dgmax
and an approximation error < Tol3d if possible
the criterion CritPlate is satisfied if possible
.
Standard_EXPORT GeomPlate_MakeApprox (const Handle(GeomPlate_Surface)&SurfPlate, const Standard_Real Tol3d, const Standard_Integer Nbmax, const Standard_Integer dgmax, const Standard_Real dmax, const Standard_Integer CritOrder=0, const GeomAbs_Shape Continuity=GeomAbs_C1, const Standard_Real EnlargeCoeff=1.1)
 Converts SurfPlate into a Geom_BSplineSurface with
n Bezier pieces (n<=Nbmax) of degree <= dgmax
and an approximation error < Tol3d if possible
if CritOrder = -1 , no criterion is used
if CritOrder = 0 , a PlateG0Criterion is used with max value > 10*dmax
if CritOrder = 1 , a PlateG1Criterion is used with max value > 10*dmax
WARNING : for CritOrder = 0 or 1, only the constraints points of SurfPlate
are used to evaluate the value of the criterion
.
Standard_EXPORT Handle_Geom_BSplineSurface Surface () const
 Returns the BSpline surface extracted from the
GeomPlate_MakeApprox object.
.
Standard_EXPORT Standard_Real ApproxError () const
 Returns the error in computation of the approximation
surface. This is the distance between the entire target
BSpline surface and the entire original surface
generated by BuildPlateSurface and converted by GeomPlate_Surface.
.
Standard_EXPORT Standard_Real CriterionError () const
 Returns the criterion error in computation of the
approximation surface. This is estimated relative to the
curve and point constraints only.
.

Private Attributes

Handle_GeomPlate_Surface myPlate
Handle_Geom_BSplineSurface mySurface
Standard_Real myAppError
Standard_Real myCritError


Constructor & Destructor Documentation

Standard_EXPORT GeomPlate_MakeApprox::GeomPlate_MakeApprox const Handle(GeomPlate_Surface)&  SurfPlate,
const AdvApp2Var_Criterion &  PlateCrit,
const Standard_Real  Tol3d,
const Standard_Integer  Nbmax,
const Standard_Integer  dgmax,
const GeomAbs_Shape  Continuity = GeomAbs_C1,
const Standard_Real  EnlargeCoeff = 1.1
 

Standard_EXPORT GeomPlate_MakeApprox::GeomPlate_MakeApprox const Handle(GeomPlate_Surface)&  SurfPlate,
const Standard_Real  Tol3d,
const Standard_Integer  Nbmax,
const Standard_Integer  dgmax,
const Standard_Real  dmax,
const Standard_Integer  CritOrder = 0,
const GeomAbs_Shape  Continuity = GeomAbs_C1,
const Standard_Real  EnlargeCoeff = 1.1
 


Member Function Documentation

Standard_EXPORT Standard_Real GeomPlate_MakeApprox::ApproxError  )  const
 

Standard_EXPORT Standard_Real GeomPlate_MakeApprox::CriterionError  )  const
 

void GeomPlate_MakeApprox::operator delete void *  anAddress  )  [inline]
 

void* GeomPlate_MakeApprox::operator new size_t  size  )  [inline]
 

void* GeomPlate_MakeApprox::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT Handle_Geom_BSplineSurface GeomPlate_MakeApprox::Surface  )  const
 


Field Documentation

Standard_Real GeomPlate_MakeApprox::myAppError [private]
 

Standard_Real GeomPlate_MakeApprox::myCritError [private]
 

Handle_GeomPlate_Surface GeomPlate_MakeApprox::myPlate [private]
 

Handle_Geom_BSplineSurface GeomPlate_MakeApprox::mySurface [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:00 2008 for OpenCASCADE by  doxygen 1.4.1