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

Function of reframing between a point and a curve. valid in cases of constant and progressive radius. This function is used to find a solution on a done point of the curve 1 when using RstRstConsRad or CSConstRad... The vector <X> used in Value, Values and Derivatives methods has to be the vector of the parametric coordinates w, U where w is the parameter on the guide line, U are the parametric coordinates of a point on the partner curve 2. More...

#include <BRepBlend_CurvPointRadInv.hxx>

Inheritance diagram for BRepBlend_CurvPointRadInv:
Inheritance graph
[legend]

Public Member Functions

 BRepBlend_CurvPointRadInv (const occ::handle< Adaptor3d_Curve > &C1, const occ::handle< Adaptor3d_Curve > &C2)
 
void Set (const int Choix)
 
int NbEquations () const override
 returns 2.
 
bool Value (const math_Vector &X, math_Vector &F) override
 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
 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
 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.
 
void Set (const gp_Pnt &P) override
 Set the Point on which a solution has to be found.
 
void GetTolerance (math_Vector &Tolerance, const double Tol) const override
 Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space.
 
void GetBounds (math_Vector &InfBound, math_Vector &SupBound) const override
 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.
 
bool IsSolution (const math_Vector &Sol, const double Tol) override
 Returns true if Sol is a zero of the function. Tol is the tolerance used in 3d space.
 
- Public Member Functions inherited from Blend_CurvPointFuncInv
int NbVariables () const override
 Returns 3.
 
- 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

Function of reframing between a point and a curve. valid in cases of constant and progressive radius. This function is used to find a solution on a done point of the curve 1 when using RstRstConsRad or CSConstRad... The vector <X> used in Value, Values and Derivatives methods has to be the vector of the parametric coordinates w, U where w is the parameter on the guide line, U are the parametric coordinates of a point on the partner curve 2.

Constructor & Destructor Documentation

◆ BRepBlend_CurvPointRadInv()

BRepBlend_CurvPointRadInv::BRepBlend_CurvPointRadInv ( const occ::handle< Adaptor3d_Curve > & C1,
const occ::handle< Adaptor3d_Curve > & C2 )

Member Function Documentation

◆ Derivatives()

bool BRepBlend_CurvPointRadInv::Derivatives ( const math_Vector & X,
math_Matrix & D )
overridevirtual

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

Implements Blend_CurvPointFuncInv.

◆ GetBounds()

void BRepBlend_CurvPointRadInv::GetBounds ( math_Vector & InfBound,
math_Vector & SupBound ) const
overridevirtual

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_CurvPointFuncInv.

◆ GetTolerance()

void BRepBlend_CurvPointRadInv::GetTolerance ( math_Vector & Tolerance,
const double Tol ) const
overridevirtual

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

Implements Blend_CurvPointFuncInv.

◆ IsSolution()

bool BRepBlend_CurvPointRadInv::IsSolution ( const math_Vector & Sol,
const double Tol )
overridevirtual

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

Implements Blend_CurvPointFuncInv.

◆ NbEquations()

int BRepBlend_CurvPointRadInv::NbEquations ( ) const
overridevirtual

returns 2.

Implements Blend_CurvPointFuncInv.

◆ Set() [1/2]

void BRepBlend_CurvPointRadInv::Set ( const gp_Pnt & P)
overridevirtual

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

Implements Blend_CurvPointFuncInv.

◆ Set() [2/2]

void BRepBlend_CurvPointRadInv::Set ( const int Choix)

◆ Value()

bool BRepBlend_CurvPointRadInv::Value ( const math_Vector & X,
math_Vector & F )
overridevirtual

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

Implements Blend_CurvPointFuncInv.

◆ Values()

bool BRepBlend_CurvPointRadInv::Values ( const math_Vector & X,
math_Vector & F,
math_Matrix & D )
overridevirtual

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_CurvPointFuncInv.


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