Open CASCADE Technology  7.3.0
Public Member Functions | Protected Member Functions
IntPatch_ALineToWLine Class Reference

#include <IntPatch_ALineToWLine.hxx>

Public Member Functions

 IntPatch_ALineToWLine (const Handle< Adaptor3d_HSurface > &theS1, const Handle< Adaptor3d_HSurface > &theS2, const Standard_Integer theNbPoints=200)
 Constructor. More...
 
void SetTolOpenDomain (const Standard_Real aT)
 
Standard_Real TolOpenDomain () const
 
void SetTolTransition (const Standard_Real aT)
 
Standard_Real TolTransition () const
 
void SetTol3D (const Standard_Real aT)
 
Standard_Real Tol3D () const
 
void MakeWLine (const Handle< IntPatch_ALine > &aline, IntPatch_SequenceOfLine &theLines) const
 Converts aline to the set of Walking-lines and adds them in theLines. More...
 
void MakeWLine (const Handle< IntPatch_ALine > &aline, const Standard_Real paraminf, const Standard_Real paramsup, IntPatch_SequenceOfLine &theLines) const
 Converts aline (limitted by paraminf and paramsup) to the set of Walking-lines and adds them in theLines. More...
 

Protected Member Functions

Standard_Boolean StepComputing (const Handle< IntPatch_ALine > &theALine, const IntSurf_PntOn2S &thePOn2S, const Standard_Real theLastParOfAline, const Standard_Real theCurParam, const Standard_Real theTgMagnitude, const Standard_Real theStepMin, const Standard_Real theStepMax, const Standard_Real theMaxDeflection, Standard_Real &theStep) const
 Computes step value to construct point-line. The step depends on the local curvature of the intersection line computed in thePOn2S. theTgMagnitude is the magnitude of tangent vector to the intersection line (in the point thePOn2S). Computed step is always in the range [theStepMin, theStepMax]. Returns FALSE if the step cannot be computed. In this case, its value will not be changed. More...
 
Standard_Integer CheckDeflection (const gp_XYZ &theMidPt, const Standard_Real theMaxDeflection) const
 

Constructor & Destructor Documentation

◆ IntPatch_ALineToWLine()

IntPatch_ALineToWLine::IntPatch_ALineToWLine ( const Handle< Adaptor3d_HSurface > &  theS1,
const Handle< Adaptor3d_HSurface > &  theS2,
const Standard_Integer  theNbPoints = 200 
)

Constructor.

Member Function Documentation

◆ CheckDeflection()

Standard_Integer IntPatch_ALineToWLine::CheckDeflection ( const gp_XYZ theMidPt,
const Standard_Real  theMaxDeflection 
) const
protected

◆ MakeWLine() [1/2]

void IntPatch_ALineToWLine::MakeWLine ( const Handle< IntPatch_ALine > &  aline,
IntPatch_SequenceOfLine theLines 
) const

Converts aline to the set of Walking-lines and adds them in theLines.

◆ MakeWLine() [2/2]

void IntPatch_ALineToWLine::MakeWLine ( const Handle< IntPatch_ALine > &  aline,
const Standard_Real  paraminf,
const Standard_Real  paramsup,
IntPatch_SequenceOfLine theLines 
) const

Converts aline (limitted by paraminf and paramsup) to the set of Walking-lines and adds them in theLines.

◆ SetTol3D()

void IntPatch_ALineToWLine::SetTol3D ( const Standard_Real  aT)

◆ SetTolOpenDomain()

void IntPatch_ALineToWLine::SetTolOpenDomain ( const Standard_Real  aT)

◆ SetTolTransition()

void IntPatch_ALineToWLine::SetTolTransition ( const Standard_Real  aT)

◆ StepComputing()

Standard_Boolean IntPatch_ALineToWLine::StepComputing ( const Handle< IntPatch_ALine > &  theALine,
const IntSurf_PntOn2S thePOn2S,
const Standard_Real  theLastParOfAline,
const Standard_Real  theCurParam,
const Standard_Real  theTgMagnitude,
const Standard_Real  theStepMin,
const Standard_Real  theStepMax,
const Standard_Real  theMaxDeflection,
Standard_Real theStep 
) const
protected

Computes step value to construct point-line. The step depends on the local curvature of the intersection line computed in thePOn2S. theTgMagnitude is the magnitude of tangent vector to the intersection line (in the point thePOn2S). Computed step is always in the range [theStepMin, theStepMax]. Returns FALSE if the step cannot be computed. In this case, its value will not be changed.

◆ Tol3D()

Standard_Real IntPatch_ALineToWLine::Tol3D ( ) const

◆ TolOpenDomain()

Standard_Real IntPatch_ALineToWLine::TolOpenDomain ( ) const

◆ TolTransition()

Standard_Real IntPatch_ALineToWLine::TolTransition ( ) const

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