Open CASCADE Technology  7.4.0
Public Member Functions | Static Public Member Functions | Protected Member Functions
GeomInt_IntSS Class Reference

#include <GeomInt_IntSS.hxx>

Public Member Functions

 GeomInt_IntSS ()
 
 GeomInt_IntSS (const Handle< Geom_Surface > &S1, const Handle< Geom_Surface > &S2, const Standard_Real Tol, const Standard_Boolean Approx=Standard_True, const Standard_Boolean ApproxS1=Standard_False, const Standard_Boolean ApproxS2=Standard_False)
 performs general intersection of two surfaces just now More...
 
void Perform (const Handle< Geom_Surface > &S1, const Handle< Geom_Surface > &S2, const Standard_Real Tol, const Standard_Boolean Approx=Standard_True, const Standard_Boolean ApproxS1=Standard_False, const Standard_Boolean ApproxS2=Standard_False)
 general intersection of two surfaces More...
 
void Perform (const Handle< GeomAdaptor_HSurface > &HS1, const Handle< GeomAdaptor_HSurface > &HS2, const Standard_Real Tol, const Standard_Boolean Approx=Standard_True, const Standard_Boolean ApproxS1=Standard_False, const Standard_Boolean ApproxS2=Standard_False)
 intersection of adapted surfaces More...
 
void Perform (const Handle< Geom_Surface > &S1, const Handle< Geom_Surface > &S2, const Standard_Real Tol, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, const Standard_Boolean Approx=Standard_True, const Standard_Boolean ApproxS1=Standard_False, const Standard_Boolean ApproxS2=Standard_False)
 general intersection using a starting point More...
 
void Perform (const Handle< GeomAdaptor_HSurface > &HS1, const Handle< GeomAdaptor_HSurface > &HS2, const Standard_Real Tol, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, const Standard_Boolean Approx=Standard_True, const Standard_Boolean ApproxS1=Standard_False, const Standard_Boolean ApproxS2=Standard_False)
 intersection of adapted surfaces using a starting point More...
 
Standard_Boolean IsDone () const
 
Standard_Real TolReached3d () const
 
Standard_Real TolReached2d () const
 
Standard_Integer NbLines () const
 
const Handle< Geom_Curve > & Line (const Standard_Integer Index) const
 
Standard_Boolean HasLineOnS1 (const Standard_Integer Index) const
 
const Handle< Geom2d_Curve > & LineOnS1 (const Standard_Integer Index) const
 
Standard_Boolean HasLineOnS2 (const Standard_Integer Index) const
 
const Handle< Geom2d_Curve > & LineOnS2 (const Standard_Integer Index) const
 
Standard_Integer NbBoundaries () const
 
const Handle< Geom_Curve > & Boundary (const Standard_Integer Index) const
 
Standard_Integer NbPoints () const
 
gp_Pnt Point (const Standard_Integer Index) const
 
gp_Pnt2d Pnt2d (const Standard_Integer Index, const Standard_Boolean OnFirst) const
 
void SetTolFixTangents (const Standard_Real aTolCheck, const Standard_Real aTolAngCheck)
 
void TolFixTangents (Standard_Real &aTolCheck, Standard_Real &aTolAngCheck)
 

Static Public Member Functions

static void TreatRLine (const Handle< IntPatch_RLine > &theRL, const Handle< GeomAdaptor_HSurface > &theHS1, const Handle< GeomAdaptor_HSurface > &theHS2, Handle< Geom_Curve > &theC3d, Handle< Geom2d_Curve > &theC2d1, Handle< Geom2d_Curve > &theC2d2, Standard_Real &theTolReached)
 converts RLine to Geom(2d)_Curve. More...
 
static void BuildPCurves (const Standard_Real f, const Standard_Real l, Standard_Real &Tol, const Handle< Geom_Surface > &S, const Handle< Geom_Curve > &C, Handle< Geom2d_Curve > &C2d)
 creates 2D-curve on given surface from given 3D-curve More...
 
static void TrimILineOnSurfBoundaries (const Handle< Geom2d_Curve > &theC2d1, const Handle< Geom2d_Curve > &theC2d2, const Bnd_Box2d &theBound1, const Bnd_Box2d &theBound2, GeomInt_VectorOfReal &theArrayOfParameters)
 puts into theArrayOfParameters the parameters of intersection points of given theC2d1 and theC2d2 curves with the boundaries of the source surface. More...
 
static Handle< Geom_CurveMakeBSpline (const Handle< IntPatch_WLine > &WL, const Standard_Integer ideb, const Standard_Integer ifin)
 
static Handle< Geom2d_BSplineCurveMakeBSpline2d (const Handle< IntPatch_WLine > &theWLine, const Standard_Integer ideb, const Standard_Integer ifin, const Standard_Boolean onFirst)
 

Protected Member Functions

void InternalPerform (const Standard_Real Tol, const Standard_Boolean Approx, const Standard_Boolean ApproxS1, const Standard_Boolean ApproxS2, const Standard_Boolean useStart, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2)
 
void MakeCurve (const Standard_Integer Ind, const Handle< Adaptor3d_TopolTool > &D1, const Handle< Adaptor3d_TopolTool > &D2, const Standard_Real Tol, const Standard_Boolean Approx, const Standard_Boolean Approx1, const Standard_Boolean Approx2)
 

Constructor & Destructor Documentation

◆ GeomInt_IntSS() [1/2]

GeomInt_IntSS::GeomInt_IntSS ( )

◆ GeomInt_IntSS() [2/2]

GeomInt_IntSS::GeomInt_IntSS ( const Handle< Geom_Surface > &  S1,
const Handle< Geom_Surface > &  S2,
const Standard_Real  Tol,
const Standard_Boolean  Approx = Standard_True,
const Standard_Boolean  ApproxS1 = Standard_False,
const Standard_Boolean  ApproxS2 = Standard_False 
)

performs general intersection of two surfaces just now

Member Function Documentation

◆ Boundary()

const Handle< Geom_Curve >& GeomInt_IntSS::Boundary ( const Standard_Integer  Index) const

◆ BuildPCurves()

static void GeomInt_IntSS::BuildPCurves ( const Standard_Real  f,
const Standard_Real  l,
Standard_Real Tol,
const Handle< Geom_Surface > &  S,
const Handle< Geom_Curve > &  C,
Handle< Geom2d_Curve > &  C2d 
)
static

creates 2D-curve on given surface from given 3D-curve

◆ HasLineOnS1()

Standard_Boolean GeomInt_IntSS::HasLineOnS1 ( const Standard_Integer  Index) const

◆ HasLineOnS2()

Standard_Boolean GeomInt_IntSS::HasLineOnS2 ( const Standard_Integer  Index) const

◆ InternalPerform()

void GeomInt_IntSS::InternalPerform ( const Standard_Real  Tol,
const Standard_Boolean  Approx,
const Standard_Boolean  ApproxS1,
const Standard_Boolean  ApproxS2,
const Standard_Boolean  useStart,
const Standard_Real  U1,
const Standard_Real  V1,
const Standard_Real  U2,
const Standard_Real  V2 
)
protected

◆ IsDone()

Standard_Boolean GeomInt_IntSS::IsDone ( ) const

◆ Line()

const Handle< Geom_Curve >& GeomInt_IntSS::Line ( const Standard_Integer  Index) const

◆ LineOnS1()

const Handle< Geom2d_Curve >& GeomInt_IntSS::LineOnS1 ( const Standard_Integer  Index) const

◆ LineOnS2()

const Handle< Geom2d_Curve >& GeomInt_IntSS::LineOnS2 ( const Standard_Integer  Index) const

◆ MakeBSpline()

static Handle< Geom_Curve > GeomInt_IntSS::MakeBSpline ( const Handle< IntPatch_WLine > &  WL,
const Standard_Integer  ideb,
const Standard_Integer  ifin 
)
static

◆ MakeBSpline2d()

static Handle< Geom2d_BSplineCurve > GeomInt_IntSS::MakeBSpline2d ( const Handle< IntPatch_WLine > &  theWLine,
const Standard_Integer  ideb,
const Standard_Integer  ifin,
const Standard_Boolean  onFirst 
)
static

◆ MakeCurve()

void GeomInt_IntSS::MakeCurve ( const Standard_Integer  Ind,
const Handle< Adaptor3d_TopolTool > &  D1,
const Handle< Adaptor3d_TopolTool > &  D2,
const Standard_Real  Tol,
const Standard_Boolean  Approx,
const Standard_Boolean  Approx1,
const Standard_Boolean  Approx2 
)
protected

◆ NbBoundaries()

Standard_Integer GeomInt_IntSS::NbBoundaries ( ) const

◆ NbLines()

Standard_Integer GeomInt_IntSS::NbLines ( ) const

◆ NbPoints()

Standard_Integer GeomInt_IntSS::NbPoints ( ) const

◆ Perform() [1/4]

void GeomInt_IntSS::Perform ( const Handle< Geom_Surface > &  S1,
const Handle< Geom_Surface > &  S2,
const Standard_Real  Tol,
const Standard_Boolean  Approx = Standard_True,
const Standard_Boolean  ApproxS1 = Standard_False,
const Standard_Boolean  ApproxS2 = Standard_False 
)

general intersection of two surfaces

◆ Perform() [2/4]

void GeomInt_IntSS::Perform ( const Handle< GeomAdaptor_HSurface > &  HS1,
const Handle< GeomAdaptor_HSurface > &  HS2,
const Standard_Real  Tol,
const Standard_Boolean  Approx = Standard_True,
const Standard_Boolean  ApproxS1 = Standard_False,
const Standard_Boolean  ApproxS2 = Standard_False 
)

intersection of adapted surfaces

◆ Perform() [3/4]

void GeomInt_IntSS::Perform ( const Handle< Geom_Surface > &  S1,
const Handle< Geom_Surface > &  S2,
const Standard_Real  Tol,
const Standard_Real  U1,
const Standard_Real  V1,
const Standard_Real  U2,
const Standard_Real  V2,
const Standard_Boolean  Approx = Standard_True,
const Standard_Boolean  ApproxS1 = Standard_False,
const Standard_Boolean  ApproxS2 = Standard_False 
)

general intersection using a starting point

◆ Perform() [4/4]

void GeomInt_IntSS::Perform ( const Handle< GeomAdaptor_HSurface > &  HS1,
const Handle< GeomAdaptor_HSurface > &  HS2,
const Standard_Real  Tol,
const Standard_Real  U1,
const Standard_Real  V1,
const Standard_Real  U2,
const Standard_Real  V2,
const Standard_Boolean  Approx = Standard_True,
const Standard_Boolean  ApproxS1 = Standard_False,
const Standard_Boolean  ApproxS2 = Standard_False 
)

intersection of adapted surfaces using a starting point

◆ Pnt2d()

gp_Pnt2d GeomInt_IntSS::Pnt2d ( const Standard_Integer  Index,
const Standard_Boolean  OnFirst 
) const

◆ Point()

gp_Pnt GeomInt_IntSS::Point ( const Standard_Integer  Index) const

◆ SetTolFixTangents()

void GeomInt_IntSS::SetTolFixTangents ( const Standard_Real  aTolCheck,
const Standard_Real  aTolAngCheck 
)

◆ TolFixTangents()

void GeomInt_IntSS::TolFixTangents ( Standard_Real aTolCheck,
Standard_Real aTolAngCheck 
)

◆ TolReached2d()

Standard_Real GeomInt_IntSS::TolReached2d ( ) const

◆ TolReached3d()

Standard_Real GeomInt_IntSS::TolReached3d ( ) const

◆ TreatRLine()

static void GeomInt_IntSS::TreatRLine ( const Handle< IntPatch_RLine > &  theRL,
const Handle< GeomAdaptor_HSurface > &  theHS1,
const Handle< GeomAdaptor_HSurface > &  theHS2,
Handle< Geom_Curve > &  theC3d,
Handle< Geom2d_Curve > &  theC2d1,
Handle< Geom2d_Curve > &  theC2d2,
Standard_Real theTolReached 
)
static

converts RLine to Geom(2d)_Curve.

◆ TrimILineOnSurfBoundaries()

static void GeomInt_IntSS::TrimILineOnSurfBoundaries ( const Handle< Geom2d_Curve > &  theC2d1,
const Handle< Geom2d_Curve > &  theC2d2,
const Bnd_Box2d theBound1,
const Bnd_Box2d theBound2,
GeomInt_VectorOfReal theArrayOfParameters 
)
static

puts into theArrayOfParameters the parameters of intersection points of given theC2d1 and theC2d2 curves with the boundaries of the source surface.


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