Open CASCADE Technology  6.9.0
Public Member Functions
AppDef_Compute Class Reference

#include <AppDef_Compute.hxx>

Public Member Functions

 AppDef_Compute (const AppDef_MultiLine &Line, const Standard_Integer degreemin=4, const Standard_Integer degreemax=8, const Standard_Real Tolerance3d=1.0e-3, const Standard_Real Tolerance2d=1.0e-6, const Standard_Integer NbIterations=5, const Standard_Boolean cutting=Standard_True, const Approx_ParametrizationType parametrization=Approx_ChordLength, const Standard_Boolean Squares=Standard_False)
 
 AppDef_Compute (const AppDef_MultiLine &Line, const math_Vector &Parameters, const Standard_Integer degreemin=4, const Standard_Integer degreemax=8, const Standard_Real Tolerance3d=1.0e-03, const Standard_Real Tolerance2d=1.0e-06, const Standard_Integer NbIterations=5, const Standard_Boolean cutting=Standard_True, const Standard_Boolean Squares=Standard_False)
 
 AppDef_Compute (const math_Vector &Parameters, const Standard_Integer degreemin=4, const Standard_Integer degreemax=8, const Standard_Real Tolerance3d=1.0e-03, const Standard_Real Tolerance2d=1.0e-06, const Standard_Integer NbIterations=5, const Standard_Boolean cutting=Standard_True, const Standard_Boolean Squares=Standard_False)
 
 AppDef_Compute (const Standard_Integer degreemin=4, const Standard_Integer degreemax=8, const Standard_Real Tolerance3d=1.0e-03, const Standard_Real Tolerance2d=1.0e-06, const Standard_Integer NbIterations=5, const Standard_Boolean cutting=Standard_True, const Approx_ParametrizationType parametrization=Approx_ChordLength, const Standard_Boolean Squares=Standard_False)
 
void Init (const Standard_Integer degreemin=4, const Standard_Integer degreemax=8, const Standard_Real Tolerance3d=1.0e-03, const Standard_Real Tolerance2d=1.0e-06, const Standard_Integer NbIterations=5, const Standard_Boolean cutting=Standard_True, const Approx_ParametrizationType parametrization=Approx_ChordLength, const Standard_Boolean Squares=Standard_False)
 
void Perform (const AppDef_MultiLine &Line)
 
void SetDegrees (const Standard_Integer degreemin, const Standard_Integer degreemax)
 
void SetTolerances (const Standard_Real Tolerance3d, const Standard_Real Tolerance2d)
 
void SetConstraints (const AppParCurves_Constraint firstC, const AppParCurves_Constraint lastC)
 
Standard_Boolean IsAllApproximated () const
 
Standard_Boolean IsToleranceReached () const
 
void Error (const Standard_Integer Index, Standard_Real &tol3d, Standard_Real &tol2d) const
 
Standard_Integer NbMultiCurves () const
 
const AppParCurves_MultiCurveValue (const Standard_Integer Index=1) const
 
AppParCurves_MultiCurveChangeValue (const Standard_Integer Index=1)
 
const AppParCurves_MultiBSpCurveSplineValue ()
 
void Parametrization (Approx_ParametrizationType &partype) const
 
const TColStd_Array1OfRealParameters (const Standard_Integer Index=1) const
 

Constructor & Destructor Documentation

AppDef_Compute::AppDef_Compute ( const AppDef_MultiLine Line,
const Standard_Integer  degreemin = 4,
const Standard_Integer  degreemax = 8,
const Standard_Real  Tolerance3d = 1.0e-3,
const Standard_Real  Tolerance2d = 1.0e-6,
const Standard_Integer  NbIterations = 5,
const Standard_Boolean  cutting = Standard_True,
const Approx_ParametrizationType  parametrization = Approx_ChordLength,
const Standard_Boolean  Squares = Standard_False 
)
AppDef_Compute::AppDef_Compute ( const AppDef_MultiLine Line,
const math_Vector Parameters,
const Standard_Integer  degreemin = 4,
const Standard_Integer  degreemax = 8,
const Standard_Real  Tolerance3d = 1.0e-03,
const Standard_Real  Tolerance2d = 1.0e-06,
const Standard_Integer  NbIterations = 5,
const Standard_Boolean  cutting = Standard_True,
const Standard_Boolean  Squares = Standard_False 
)
AppDef_Compute::AppDef_Compute ( const math_Vector Parameters,
const Standard_Integer  degreemin = 4,
const Standard_Integer  degreemax = 8,
const Standard_Real  Tolerance3d = 1.0e-03,
const Standard_Real  Tolerance2d = 1.0e-06,
const Standard_Integer  NbIterations = 5,
const Standard_Boolean  cutting = Standard_True,
const Standard_Boolean  Squares = Standard_False 
)
AppDef_Compute::AppDef_Compute ( const Standard_Integer  degreemin = 4,
const Standard_Integer  degreemax = 8,
const Standard_Real  Tolerance3d = 1.0e-03,
const Standard_Real  Tolerance2d = 1.0e-06,
const Standard_Integer  NbIterations = 5,
const Standard_Boolean  cutting = Standard_True,
const Approx_ParametrizationType  parametrization = Approx_ChordLength,
const Standard_Boolean  Squares = Standard_False 
)

Member Function Documentation

AppParCurves_MultiCurve& AppDef_Compute::ChangeValue ( const Standard_Integer  Index = 1)
void AppDef_Compute::Error ( const Standard_Integer  Index,
Standard_Real tol3d,
Standard_Real tol2d 
) const
void AppDef_Compute::Init ( const Standard_Integer  degreemin = 4,
const Standard_Integer  degreemax = 8,
const Standard_Real  Tolerance3d = 1.0e-03,
const Standard_Real  Tolerance2d = 1.0e-06,
const Standard_Integer  NbIterations = 5,
const Standard_Boolean  cutting = Standard_True,
const Approx_ParametrizationType  parametrization = Approx_ChordLength,
const Standard_Boolean  Squares = Standard_False 
)
Standard_Boolean AppDef_Compute::IsAllApproximated ( ) const
Standard_Boolean AppDef_Compute::IsToleranceReached ( ) const
Standard_Integer AppDef_Compute::NbMultiCurves ( ) const
const TColStd_Array1OfReal& AppDef_Compute::Parameters ( const Standard_Integer  Index = 1) const
void AppDef_Compute::Parametrization ( Approx_ParametrizationType partype) const
void AppDef_Compute::Perform ( const AppDef_MultiLine Line)
void AppDef_Compute::SetConstraints ( const AppParCurves_Constraint  firstC,
const AppParCurves_Constraint  lastC 
)
void AppDef_Compute::SetDegrees ( const Standard_Integer  degreemin,
const Standard_Integer  degreemax 
)
void AppDef_Compute::SetTolerances ( const Standard_Real  Tolerance3d,
const Standard_Real  Tolerance2d 
)
const AppParCurves_MultiBSpCurve& AppDef_Compute::SplineValue ( )
const AppParCurves_MultiCurve& AppDef_Compute::Value ( const Standard_Integer  Index = 1) const

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