Open CASCADE Technology  7.4.0
Public Member Functions

BRepBlend_SurfCurvConstRadInv Class Reference

Function of reframing between a restriction surface of the surface and a curve. Class used to compute a solution of the surfRstConstRad problem on a done restriction of the surface. The vector <X> used in Value, Values and Derivatives methods has to be the vector of the parametric coordinates wguide, wcurv, wrst where wguide is the parameter on the guide line, wcurv is the parameter on the curve, wrst is the parameter on the restriction on the surface. More...

#include <BRepBlend_SurfCurvConstRadInv.hxx>

Inheritance diagram for BRepBlend_SurfCurvConstRadInv:
Inheritance graph
[legend]

Public Member Functions

 BRepBlend_SurfCurvConstRadInv (const Handle< Adaptor3d_HSurface > &S, const Handle< Adaptor3d_HCurve > &C, const Handle< Adaptor3d_HCurve > &Cg)
 
void Set (const Standard_Real R, const Standard_Integer Choix)
 
Standard_Integer NbEquations () const
 returns 3. More...
 
Standard_Boolean Value (const math_Vector &X, math_Vector &F)
 computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise. More...
 
Standard_Boolean Derivatives (const math_Vector &X, math_Matrix &D)
 returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise. More...
 
Standard_Boolean Values (const math_Vector &X, math_Vector &F, math_Matrix &D)
 returns the values <F> of the functions and the derivatives <D> for the variable <X>. Returns True if the computation was done successfully, False otherwise. More...
 
void Set (const Handle< Adaptor2d_HCurve2d > &Rst)
 Set the restriction on which a solution has to be found. More...
 
void GetTolerance (math_Vector &Tolerance, const Standard_Real Tol) const
 Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. More...
 
void GetBounds (math_Vector &InfBound, math_Vector &SupBound) const
 Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. More...
 
Standard_Boolean IsSolution (const math_Vector &Sol, const Standard_Real Tol)
 Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. More...
 
- Public Member Functions inherited from Blend_SurfCurvFuncInv
Standard_Integer NbVariables () const
 Returns 3. More...
 
- Public Member Functions inherited from math_FunctionSet
virtual Standard_Integer GetStateNumber ()
 Returns the state of the function corresponding to the latestcall of any methods associated with the function. This function is called by each of the algorithms described later which define the function Integer Algorithm::StateNumber(). The algorithm has the responsibility to call this function when it has found a solution (i.e. a root or a minimum) and has to maintain the association between the solution found and this StateNumber. Byu default, this method returns 0 (which means for the algorithm: no state has been saved). It is the responsibility of the programmer to decide if he needs to save the current state of the function and to return an Integer that allows retrieval of the state. More...
 
virtual ~math_FunctionSet ()
 

Detailed Description

Function of reframing between a restriction surface of the surface and a curve. Class used to compute a solution of the surfRstConstRad problem on a done restriction of the surface. The vector <X> used in Value, Values and Derivatives methods has to be the vector of the parametric coordinates wguide, wcurv, wrst where wguide is the parameter on the guide line, wcurv is the parameter on the curve, wrst is the parameter on the restriction on the surface.

Constructor & Destructor Documentation

◆ BRepBlend_SurfCurvConstRadInv()

BRepBlend_SurfCurvConstRadInv::BRepBlend_SurfCurvConstRadInv ( const Handle< Adaptor3d_HSurface > &  S,
const Handle< Adaptor3d_HCurve > &  C,
const Handle< Adaptor3d_HCurve > &  Cg 
)

Member Function Documentation

◆ Derivatives()

Standard_Boolean BRepBlend_SurfCurvConstRadInv::Derivatives ( const math_Vector X,
math_Matrix D 
)
virtual

returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise.

Implements Blend_SurfCurvFuncInv.

◆ GetBounds()

void BRepBlend_SurfCurvConstRadInv::GetBounds ( math_Vector InfBound,
math_Vector SupBound 
) const
virtual

Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables.

Implements Blend_SurfCurvFuncInv.

◆ GetTolerance()

void BRepBlend_SurfCurvConstRadInv::GetTolerance ( math_Vector Tolerance,
const Standard_Real  Tol 
) const
virtual

Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space.

Implements Blend_SurfCurvFuncInv.

◆ IsSolution()

Standard_Boolean BRepBlend_SurfCurvConstRadInv::IsSolution ( const math_Vector Sol,
const Standard_Real  Tol 
)
virtual

Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space.

Implements Blend_SurfCurvFuncInv.

◆ NbEquations()

Standard_Integer BRepBlend_SurfCurvConstRadInv::NbEquations ( ) const
virtual

returns 3.

Implements Blend_SurfCurvFuncInv.

◆ Set() [1/2]

void BRepBlend_SurfCurvConstRadInv::Set ( const Standard_Real  R,
const Standard_Integer  Choix 
)

◆ Set() [2/2]

void BRepBlend_SurfCurvConstRadInv::Set ( const Handle< Adaptor2d_HCurve2d > &  Rst)
virtual

Set the restriction on which a solution has to be found.

Implements Blend_SurfCurvFuncInv.

◆ Value()

Standard_Boolean BRepBlend_SurfCurvConstRadInv::Value ( const math_Vector X,
math_Vector F 
)
virtual

computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise.

Implements Blend_SurfCurvFuncInv.

◆ Values()

Standard_Boolean BRepBlend_SurfCurvConstRadInv::Values ( const math_Vector X,
math_Vector F,
math_Matrix D 
)
virtual

returns the values <F> of the functions and the derivatives <D> for the variable <X>. Returns True if the computation was done successfully, False otherwise.

Implements Blend_SurfCurvFuncInv.


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