Open CASCADE Technology
7.7.0
|
This function calculates point (pts) on the curve of intersection between the normal to a curve (guide) in a chosen parameter and a surface (surf), so that pts was at a given distance from the guide. X(1),X(2) are the parameters U,V of pts on surf. More...
#include <BlendFunc_Corde.hxx>
Public Member Functions | |
BlendFunc_Corde (const Handle< Adaptor3d_Surface > &S, const Handle< Adaptor3d_Curve > &CGuide) | |
void | SetParam (const Standard_Real Param) |
void | SetDist (const Standard_Real Dist) |
Standard_Boolean | Value (const math_Vector &X, math_Vector &F) |
computes the values <F> of the Function 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... | |
const gp_Pnt & | PointOnS () const |
const gp_Pnt & | PointOnGuide () const |
returns the point of parameter on CGuide More... | |
const gp_Vec & | NPlan () const |
returns the normal to CGuide at Ptgui. More... | |
Standard_Boolean | IsTangencyPoint () const |
Returns True when it is not possible to compute the tangent vectors at PointOnS. More... | |
const gp_Vec & | TangentOnS () const |
Returns the tangent vector at PointOnS, in 3d space. More... | |
const gp_Vec2d & | Tangent2dOnS () const |
Returns the tangent vector at PointOnS, in the parametric space of the first surface. More... | |
void | DerFguide (const math_Vector &Sol, gp_Vec2d &DerF) |
Derived of the function compared to the parameter of the guideline. More... | |
Standard_Boolean | IsSolution (const math_Vector &Sol, const Standard_Real Tol) |
Returns False if Sol is not solution else returns True and updates the fields tgs and tg2d. More... | |
This function calculates point (pts) on the curve of intersection between the normal to a curve (guide) in a chosen parameter and a surface (surf), so that pts was at a given distance from the guide. X(1),X(2) are the parameters U,V of pts on surf.
BlendFunc_Corde::BlendFunc_Corde | ( | const Handle< Adaptor3d_Surface > & | S, |
const Handle< Adaptor3d_Curve > & | CGuide | ||
) |
void BlendFunc_Corde::DerFguide | ( | const math_Vector & | Sol, |
gp_Vec2d & | DerF | ||
) |
Derived of the function compared to the parameter of the guideline.
Standard_Boolean BlendFunc_Corde::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.
Standard_Boolean BlendFunc_Corde::IsSolution | ( | const math_Vector & | Sol, |
const Standard_Real | Tol | ||
) |
Returns False if Sol is not solution else returns True and updates the fields tgs and tg2d.
Standard_Boolean BlendFunc_Corde::IsTangencyPoint | ( | ) | const |
Returns True when it is not possible to compute the tangent vectors at PointOnS.
const gp_Vec& BlendFunc_Corde::NPlan | ( | ) | const |
returns the normal to CGuide at Ptgui.
const gp_Pnt& BlendFunc_Corde::PointOnGuide | ( | ) | const |
returns the point of parameter on CGuide
const gp_Pnt& BlendFunc_Corde::PointOnS | ( | ) | const |
void BlendFunc_Corde::SetDist | ( | const Standard_Real | Dist | ) |
void BlendFunc_Corde::SetParam | ( | const Standard_Real | Param | ) |
const gp_Vec2d& BlendFunc_Corde::Tangent2dOnS | ( | ) | const |
Returns the tangent vector at PointOnS, in the parametric space of the first surface.
const gp_Vec& BlendFunc_Corde::TangentOnS | ( | ) | const |
Returns the tangent vector at PointOnS, in 3d space.
Standard_Boolean BlendFunc_Corde::Value | ( | const math_Vector & | X, |
math_Vector & | F | ||
) |
computes the values <F> of the Function for the variable <X>. Returns True if the computation was done successfully, False otherwise.