Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GeomPlate_MakeApprox Class Reference

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

#include <GeomPlate_MakeApprox.hxx>

Public Member Functions

 GeomPlate_MakeApprox (const occ::handle< GeomPlate_Surface > &SurfPlate, const AdvApp2Var_Criterion &PlateCrit, const double Tol3d, const int Nbmax, const int dgmax, const GeomAbs_Shape Continuity=GeomAbs_C1, const double 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.
 
 GeomPlate_MakeApprox (const occ::handle< GeomPlate_Surface > &SurfPlate, const double Tol3d, const int Nbmax, const int dgmax, const double dmax, const int CritOrder=0, const GeomAbs_Shape Continuity=GeomAbs_C1, const double 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.
 
occ::handle< Geom_BSplineSurfaceSurface () const
 Returns the BSpline surface extracted from the GeomPlate_MakeApprox object.
 
double 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.
 
double CriterionError () const
 Returns the criterion error in computation of the approximation surface. This is estimated relative to the curve and point constraints only.
 

Detailed Description

Allows you to convert a GeomPlate surface into a BSpline.

Constructor & Destructor Documentation

◆ GeomPlate_MakeApprox() [1/2]

GeomPlate_MakeApprox::GeomPlate_MakeApprox ( const occ::handle< GeomPlate_Surface > & SurfPlate,
const AdvApp2Var_Criterion & PlateCrit,
const double Tol3d,
const int Nbmax,
const int dgmax,
const GeomAbs_Shape Continuity = GeomAbs_C1,
const double 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.

◆ GeomPlate_MakeApprox() [2/2]

GeomPlate_MakeApprox::GeomPlate_MakeApprox ( const occ::handle< GeomPlate_Surface > & SurfPlate,
const double Tol3d,
const int Nbmax,
const int dgmax,
const double dmax,
const int CritOrder = 0,
const GeomAbs_Shape Continuity = GeomAbs_C1,
const double 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.

Member Function Documentation

◆ ApproxError()

double GeomPlate_MakeApprox::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.

◆ CriterionError()

double GeomPlate_MakeApprox::CriterionError ( ) const

Returns the criterion error in computation of the approximation surface. This is estimated relative to the curve and point constraints only.

◆ Surface()

occ::handle< Geom_BSplineSurface > GeomPlate_MakeApprox::Surface ( ) const

Returns the BSpline surface extracted from the GeomPlate_MakeApprox object.


The documentation for this class was generated from the following file: