Open CASCADE Technology  6.9.1
Public Member Functions
BRepApprox_TheComputeLineOfApprox Class Reference

#include <BRepApprox_TheComputeLineOfApprox.hxx>

Public Member Functions

 BRepApprox_TheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox &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)
 
 BRepApprox_TheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox &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)
 
 BRepApprox_TheComputeLineOfApprox (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)
 
 BRepApprox_TheComputeLineOfApprox (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 Interpol (const BRepApprox_TheMultiLineOfApprox &Line)
 
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 BRepApprox_TheMultiLineOfApprox &Line)
 
void SetParameters (const math_Vector &ThePar)
 
void SetKnots (const TColStd_Array1OfReal &Knots)
 
void SetKnotsAndMultiplicities (const TColStd_Array1OfReal &Knots, const TColStd_Array1OfInteger &Mults)
 
void SetDegrees (const Standard_Integer degreemin, const Standard_Integer degreemax)
 
void SetTolerances (const Standard_Real Tolerance3d, const Standard_Real Tolerance2d)
 
void SetContinuity (const Standard_Integer C)
 
void SetConstraints (const AppParCurves_Constraint firstC, const AppParCurves_Constraint lastC)
 
Standard_Boolean IsAllApproximated () const
 
Standard_Boolean IsToleranceReached () const
 
void Error (Standard_Real &tol3d, Standard_Real &tol2d) const
 
const AppParCurves_MultiBSpCurveValue () const
 
AppParCurves_MultiBSpCurveChangeValue ()
 
const TColStd_Array1OfRealParameters () const
 

Constructor & Destructor Documentation

BRepApprox_TheComputeLineOfApprox::BRepApprox_TheComputeLineOfApprox ( const BRepApprox_TheMultiLineOfApprox 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 
)
BRepApprox_TheComputeLineOfApprox::BRepApprox_TheComputeLineOfApprox ( const BRepApprox_TheMultiLineOfApprox 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 
)
BRepApprox_TheComputeLineOfApprox::BRepApprox_TheComputeLineOfApprox ( 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 
)
BRepApprox_TheComputeLineOfApprox::BRepApprox_TheComputeLineOfApprox ( 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_MultiBSpCurve& BRepApprox_TheComputeLineOfApprox::ChangeValue ( )
void BRepApprox_TheComputeLineOfApprox::Error ( Standard_Real tol3d,
Standard_Real tol2d 
) const
void BRepApprox_TheComputeLineOfApprox::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 BRepApprox_TheComputeLineOfApprox::Interpol ( const BRepApprox_TheMultiLineOfApprox Line)
Standard_Boolean BRepApprox_TheComputeLineOfApprox::IsAllApproximated ( ) const
Standard_Boolean BRepApprox_TheComputeLineOfApprox::IsToleranceReached ( ) const
const TColStd_Array1OfReal& BRepApprox_TheComputeLineOfApprox::Parameters ( ) const
void BRepApprox_TheComputeLineOfApprox::Perform ( const BRepApprox_TheMultiLineOfApprox Line)
void BRepApprox_TheComputeLineOfApprox::SetConstraints ( const AppParCurves_Constraint  firstC,
const AppParCurves_Constraint  lastC 
)
void BRepApprox_TheComputeLineOfApprox::SetContinuity ( const Standard_Integer  C)
void BRepApprox_TheComputeLineOfApprox::SetDegrees ( const Standard_Integer  degreemin,
const Standard_Integer  degreemax 
)
void BRepApprox_TheComputeLineOfApprox::SetKnots ( const TColStd_Array1OfReal Knots)
void BRepApprox_TheComputeLineOfApprox::SetKnotsAndMultiplicities ( const TColStd_Array1OfReal Knots,
const TColStd_Array1OfInteger Mults 
)
void BRepApprox_TheComputeLineOfApprox::SetParameters ( const math_Vector ThePar)
void BRepApprox_TheComputeLineOfApprox::SetTolerances ( const Standard_Real  Tolerance3d,
const Standard_Real  Tolerance2d 
)
const AppParCurves_MultiBSpCurve& BRepApprox_TheComputeLineOfApprox::Value ( ) const

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