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

Deferred class for a function used to compute a blending surface between a surface and a curve, using a guide line. This function is used to find a solution on a done restriction of the surface. More...

#include <Blend_SurfCurvFuncInv.hxx>

Inheritance diagram for Blend_SurfCurvFuncInv:
Inheritance graph
[legend]

Public Member Functions

int NbVariables () const override
 Returns 3.
 
int NbEquations () const override=0
 returns the number of equations of the function.
 
bool Value (const math_Vector &X, math_Vector &F) override=0
 computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise.
 
bool Derivatives (const math_Vector &X, math_Matrix &D) override=0
 returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise.
 
bool Values (const math_Vector &X, math_Vector &F, math_Matrix &D) override=0
 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.
 
virtual void Set (const occ::handle< Adaptor2d_Curve2d > &Rst)=0
 Set the Point on which a solution has to be found.
 
virtual void GetTolerance (math_Vector &Tolerance, const double Tol) const =0
 Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space.
 
virtual void GetBounds (math_Vector &InfBound, math_Vector &SupBound) const =0
 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.
 
virtual bool IsSolution (const math_Vector &Sol, const double Tol)=0
 Returns true if Sol is a zero of the function. Tol is the tolerance used in 3d space.
 
- Public Member Functions inherited from math_FunctionSet
virtual int 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.
 
virtual ~math_FunctionSet ()
 

Detailed Description

Deferred class for a function used to compute a blending surface between a surface and a curve, using a guide line. This function is used to find a solution 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.

Member Function Documentation

◆ Derivatives()

bool Blend_SurfCurvFuncInv::Derivatives ( const math_Vector & X,
math_Matrix & D )
overridepure virtual

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

Implements math_FunctionSetWithDerivatives.

Implemented in BRepBlend_SurfCurvConstRadInv, and BRepBlend_SurfCurvEvolRadInv.

◆ GetBounds()

virtual void Blend_SurfCurvFuncInv::GetBounds ( math_Vector & InfBound,
math_Vector & SupBound ) const
pure 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.

Implemented in BRepBlend_SurfCurvConstRadInv, and BRepBlend_SurfCurvEvolRadInv.

◆ GetTolerance()

virtual void Blend_SurfCurvFuncInv::GetTolerance ( math_Vector & Tolerance,
const double Tol ) const
pure virtual

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

Implemented in BRepBlend_SurfCurvConstRadInv, and BRepBlend_SurfCurvEvolRadInv.

◆ IsSolution()

virtual bool Blend_SurfCurvFuncInv::IsSolution ( const math_Vector & Sol,
const double Tol )
pure virtual

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

Implemented in BRepBlend_SurfCurvConstRadInv, and BRepBlend_SurfCurvEvolRadInv.

◆ NbEquations()

int Blend_SurfCurvFuncInv::NbEquations ( ) const
overridepure virtual

returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

Implemented in BRepBlend_SurfCurvConstRadInv, and BRepBlend_SurfCurvEvolRadInv.

◆ NbVariables()

int Blend_SurfCurvFuncInv::NbVariables ( ) const
overridevirtual

Returns 3.

Implements math_FunctionSetWithDerivatives.

◆ Set()

virtual void Blend_SurfCurvFuncInv::Set ( const occ::handle< Adaptor2d_Curve2d > & Rst)
pure virtual

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

Implemented in BRepBlend_SurfCurvConstRadInv, and BRepBlend_SurfCurvEvolRadInv.

◆ Value()

bool Blend_SurfCurvFuncInv::Value ( const math_Vector & X,
math_Vector & F )
overridepure virtual

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

Implements math_FunctionSetWithDerivatives.

Implemented in BRepBlend_SurfCurvConstRadInv, and BRepBlend_SurfCurvEvolRadInv.

◆ Values()

bool Blend_SurfCurvFuncInv::Values ( const math_Vector & X,
math_Vector & F,
math_Matrix & D )
overridepure 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 math_FunctionSetWithDerivatives.

Implemented in BRepBlend_SurfCurvConstRadInv, and BRepBlend_SurfCurvEvolRadInv.


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