Open CASCADE Technology  6.9.0
Public Member Functions

BlendFunc_Corde Class Reference

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_HSurface > &S, const Handle< Adaptor3d_HCurve > &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_PntPointOnS () const
 
const gp_PntPointOnGuide () const
 returns the point of parameter on CGuide More...
 
const gp_VecNPlan () 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_VecTangentOnS () const
 Returns the tangent vector at PointOnS, in 3d space. More...
 
const gp_Vec2dTangent2dOnS () 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...
 

Detailed Description

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.

Constructor & Destructor Documentation

BlendFunc_Corde::BlendFunc_Corde ( const Handle< Adaptor3d_HSurface > &  S,
const Handle< Adaptor3d_HCurve > &  CGuide 
)

Member Function Documentation

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.


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