C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Parameters of surface fitting. More...

#include <action_b_shaper.h>

Public Member Functions

 MbSurfaceFitToGridParameters (MbeSpaceType surfaceType, double tolerance, const c3d::IndicesVector &indicies)
 Constructor by parameters.
 
 MbSurfaceFitToGridParameters (MbeSpaceType surfaceType, double tolerance, const c3d::IndicesVector &indicies, MbeRejectOutliersType rejectType, double rejectValue)
 Constructor by parameters.
 
 MbSurfaceFitToGridParameters (MbeSpaceType surfaceType, double tolerance, const c3d::IndicesVector &indicies, MbeRejectOutliersType rejectType, double rejectValue, double angleConeMin, double angleConeMax, double radiusAnalyticShapeMax)
 Constructor by parameters for analytic surfaces fitting.
 
 MbSurfaceFitToGridParameters (MbeSpaceType surfaceType, double tolerance, const c3d::IndicesVector &indicies, size_t order, size_t countCpMax, double smoothCoef)
 Constructor by parameters for NURBs surface fitting.
 
MbeSpaceType GetSurfaceType () const
 Get surface type.
 
double GetTolerance () const
 Get fitting tolerance.
 
const c3d::IndicesVectorGetIndicies () const
 Get indicies of polygons.
 
MbeRejectOutliersType GetOutliersRejectionMode () const
 Get outliers rejection mode.
 
double GetOutliersRejectionValue () const
 Get outliers rejection mode treshold value.
 
size_t GetNurbsOrder () const
 Get NURBs order.
 
size_t GetCountCpMax () const
 Get maximum allowed control points count.
 
double GetSmoothCoef () const
 Get smoothing coefficient.
 
double GetAngleConeMin () const
 Get mininmum allowed cone half-angle.
 
double GetAngleConeMax () const
 Get maximum allowed cone half-angle.
 
double GetRadiusAnalyticShapeMax () const
 Get maximum allowed analytical shapes radial size.
 
const MbSurfaceFitConstraintGetFitConstraint () const
 Get the constraint.
 
size_t GetPointsFittingMax () const
 Get the maximum count of fitting points.
 
bool GetWithRefinement () const
 Get the flag of surface refinement by all the points.
 
void SetAnalyticBounds (double angleConeMin, double angleConeMax, double radiusAnalyticShapeMax)
 Set thresholds for analytical surfaces parameters.
 
void SetNurbsFitParams (size_t order, size_t countCpMax, double smoothCoef)
 Set NURBs surface fitting parameters.
 
bool AddAxisConstraint (const MbVector3D &direction, double angle=0.)
 Add an axis constraint. More...
 
void AddCoaxialConstraint (const MbAxis3D &axis)
 Add a coaxial constraint. More...
 
bool AddCylinderRadiusConstraint (double radius)
 Fix cylinder radius. More...
 
bool AddSphereRadiusConstraint (double radius)
 Fix sphere radius. More...
 
bool AddConeAngleConstraint (double angle)
 Fix cone angle. More...
 
bool AddTorusRadiiConstraint (double majorRadius, double minorRadius)
 Fix torus radii. More...
 
MbResultType SetFitConstraintXYW (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place)
 Set the XYW-constraint. More...
 
MbResultType SetFitConstraintZ (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place)
 Set the Z-constraint. More...
 
MbResultType SetFitConstraintXYZ (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place)
 Set the XYZ-constraint. More...
 
MbResultType SetFitConstraintZW (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place)
 Set the ZW-constraint. More...
 
void SetPointsFittingMax (size_t value)
 Set the maximum count of fitting points.
 
void SetWithRefinement (bool value)
 Set the flag of surface refinement by all the points.
 

Detailed Description

Parameters of surface fitting.


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