Open CASCADE Technology  7.0.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::GeomInt_IntSS ( )
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

const Handle< Geom_Curve >& GeomInt_IntSS::Boundary ( const Standard_Integer  Index) const
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

Standard_Boolean GeomInt_IntSS::HasLineOnS1 ( const Standard_Integer  Index) const
Standard_Boolean GeomInt_IntSS::HasLineOnS2 ( const Standard_Integer  Index) const
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
Standard_Boolean GeomInt_IntSS::IsDone ( ) const
const Handle< Geom_Curve >& GeomInt_IntSS::Line ( const Standard_Integer  Index) const
const Handle< Geom2d_Curve >& GeomInt_IntSS::LineOnS1 ( const Standard_Integer  Index) const
const Handle< Geom2d_Curve >& GeomInt_IntSS::LineOnS2 ( const Standard_Integer  Index) const
static Handle< Geom_Curve > GeomInt_IntSS::MakeBSpline ( const Handle< IntPatch_WLine > &  WL,
const Standard_Integer  ideb,
const Standard_Integer  ifin 
)
static
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
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
Standard_Integer GeomInt_IntSS::NbBoundaries ( ) const
Standard_Integer GeomInt_IntSS::NbLines ( ) const
Standard_Integer GeomInt_IntSS::NbPoints ( ) const
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

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

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

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

gp_Pnt2d GeomInt_IntSS::Pnt2d ( const Standard_Integer  Index,
const Standard_Boolean  OnFirst 
) const
gp_Pnt GeomInt_IntSS::Point ( const Standard_Integer  Index) const
void GeomInt_IntSS::SetTolFixTangents ( const Standard_Real  aTolCheck,
const Standard_Real  aTolAngCheck 
)
void GeomInt_IntSS::TolFixTangents ( Standard_Real aTolCheck,
Standard_Real aTolAngCheck 
)
Standard_Real GeomInt_IntSS::TolReached2d ( ) const
Standard_Real GeomInt_IntSS::TolReached3d ( ) const
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.

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: