Open CASCADE Technology  7.4.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::BlendFunc_Corde ( const Handle< Adaptor3d_HSurface > &  S,
const Handle< Adaptor3d_HCurve > &  CGuide 
)

Member Function Documentation

◆ DerFguide()

void BlendFunc_Corde::DerFguide ( const math_Vector Sol,
gp_Vec2d DerF 
)

Derived of the function compared to the parameter of the guideline.

◆ Derivatives()

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.

◆ IsSolution()

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.

◆ IsTangencyPoint()

Standard_Boolean BlendFunc_Corde::IsTangencyPoint ( ) const

Returns True when it is not possible to compute the tangent vectors at PointOnS.

◆ NPlan()

const gp_Vec& BlendFunc_Corde::NPlan ( ) const

returns the normal to CGuide at Ptgui.

◆ PointOnGuide()

const gp_Pnt& BlendFunc_Corde::PointOnGuide ( ) const

returns the point of parameter on CGuide

◆ PointOnS()

const gp_Pnt& BlendFunc_Corde::PointOnS ( ) const

◆ SetDist()

void BlendFunc_Corde::SetDist ( const Standard_Real  Dist)

◆ SetParam()

void BlendFunc_Corde::SetParam ( const Standard_Real  Param)

◆ Tangent2dOnS()

const gp_Vec2d& BlendFunc_Corde::Tangent2dOnS ( ) const

Returns the tangent vector at PointOnS, in the parametric space of the first surface.

◆ TangentOnS()

const gp_Vec& BlendFunc_Corde::TangentOnS ( ) const

Returns the tangent vector at PointOnS, in 3d space.

◆ Value()

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: