This class describes the function on a parametric surface. the form of the function is F(u,v) = 0 where u and v are the parametric coordinates of a point on the surface, to compute the contours of the surface.
More...
|
| Contap_SurfFunction () |
|
void | Set (const Handle< Adaptor3d_Surface > &S) |
|
void | Set (const gp_Pnt &Eye) |
|
void | Set (const gp_Dir &Dir) |
|
void | Set (const gp_Dir &Dir, const Standard_Real Angle) |
|
void | Set (const gp_Pnt &Eye, const Standard_Real Angle) |
|
void | Set (const Standard_Real Tolerance) |
|
Standard_Integer | NbVariables () const |
| This method has to return 2.
|
|
Standard_Integer | NbEquations () const |
| This method has to return 1.
|
|
Standard_Boolean | Value (const math_Vector &X, math_Vector &F) |
| The dimension of F is 1.
|
|
Standard_Boolean | Derivatives (const math_Vector &X, math_Matrix &D) |
| The dimension of D is (1,2).
|
|
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.
|
|
Standard_Real | Root () const |
| Root is the value of the function at the solution. It is a vector of dimension 1, i-e a real.
|
|
Standard_Real | Tolerance () const |
| Returns the value Tol so that if Abs(Func.Root())<Tol the function is considered null.
|
|
const gp_Pnt & | Point () const |
| Returns the value of the solution point on the surface.
|
|
Standard_Boolean | IsTangent () |
|
const gp_Vec & | Direction3d () |
|
const gp_Dir2d & | Direction2d () |
|
Contap_TFunction | FunctionType () const |
|
const gp_Pnt & | Eye () const |
|
const gp_Dir & | Direction () const |
|
Standard_Real | Angle () const |
|
const Handle< Adaptor3d_Surface > & | Surface () const |
|
const Handle< Adaptor3d_Surface > & | PSurface () const |
| Method is entered for compatibility with IntPatch_TheSurfFunction.
|
|
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.
|
|
virtual | ~math_FunctionSet () |
|
This class describes the function on a parametric surface. the form of the function is F(u,v) = 0 where u and v are the parametric coordinates of a point on the surface, to compute the contours of the surface.