Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
IntPatch_CurvIntSurf Class Reference

#include <IntPatch_CurvIntSurf.hxx>

Public Member Functions

 IntPatch_CurvIntSurf (const double U, const double V, const double W, const IntPatch_CSFunction &F, const double TolTangency, const double MarginCoef=0.0)
 compute the solution point with the close point MarginCoef is the coefficient for extension of UV bounds. Ex., UFirst -= MarginCoef*(ULast-UFirst)
 IntPatch_CurvIntSurf (const IntPatch_CSFunction &F, const double TolTangency)
 initialize the parameters to compute the solution
void Perform (const double U, const double V, const double W, math_FunctionSetRoot &Rsnld, const double u0, const double v0, const double u1, const double v1, const double w0, const double w1)
 compute the solution it's possible to write to optimize: IntImp_IntCS inter(S1,C1,Toltangency) math_FunctionSetRoot rsnld(Inter.function()) while ...{ u=... v=... w=... inter.Perform(u,v,w,rsnld) } or IntImp_IntCS inter(Toltangency) inter.SetSurface(S); math_FunctionSetRoot rsnld(Inter.function()) while ...{ C=... inter.SetCurve(C); u=... v=... w=... inter.Perform(u,v,w,rsnld) }
bool IsDone () const
 Returns TRUE if the creation completed without failure.
bool IsEmpty () const
const gp_Pnt & Point () const
 returns the intersection point The exception NotDone is raised if IsDone is false. The exception DomainError is raised if IsEmpty is true.
double ParameterOnCurve () const
void ParameterOnSurface (double &U, double &V) const
IntPatch_CSFunction & Function ()
 return the math function which is used to compute the intersection

Constructor & Destructor Documentation

◆ IntPatch_CurvIntSurf() [1/2]

IntPatch_CurvIntSurf::IntPatch_CurvIntSurf ( const double U,
const double V,
const double W,
const IntPatch_CSFunction & F,
const double TolTangency,
const double MarginCoef = 0.0 )

compute the solution point with the close point MarginCoef is the coefficient for extension of UV bounds. Ex., UFirst -= MarginCoef*(ULast-UFirst)

◆ IntPatch_CurvIntSurf() [2/2]

IntPatch_CurvIntSurf::IntPatch_CurvIntSurf ( const IntPatch_CSFunction & F,
const double TolTangency )

initialize the parameters to compute the solution

Member Function Documentation

◆ Function()

IntPatch_CSFunction & IntPatch_CurvIntSurf::Function ( )

return the math function which is used to compute the intersection

◆ IsDone()

bool IntPatch_CurvIntSurf::IsDone ( ) const

Returns TRUE if the creation completed without failure.

◆ IsEmpty()

bool IntPatch_CurvIntSurf::IsEmpty ( ) const

◆ ParameterOnCurve()

double IntPatch_CurvIntSurf::ParameterOnCurve ( ) const

◆ ParameterOnSurface()

void IntPatch_CurvIntSurf::ParameterOnSurface ( double & U,
double & V ) const

◆ Perform()

void IntPatch_CurvIntSurf::Perform ( const double U,
const double V,
const double W,
math_FunctionSetRoot & Rsnld,
const double u0,
const double v0,
const double u1,
const double v1,
const double w0,
const double w1 )

compute the solution it's possible to write to optimize: IntImp_IntCS inter(S1,C1,Toltangency) math_FunctionSetRoot rsnld(Inter.function()) while ...{ u=... v=... w=... inter.Perform(u,v,w,rsnld) } or IntImp_IntCS inter(Toltangency) inter.SetSurface(S); math_FunctionSetRoot rsnld(Inter.function()) while ...{ C=... inter.SetCurve(C); u=... v=... w=... inter.Perform(u,v,w,rsnld) }

◆ Point()

const gp_Pnt & IntPatch_CurvIntSurf::Point ( ) const

returns the intersection point The exception NotDone is raised if IsDone is false. The exception DomainError is raised if IsEmpty is true.


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