Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 occ::handle< Geom_Surface > &S1, const occ::handle< Geom_Surface > &S2, const double Tol, const bool Approx=true, const bool ApproxS1=false, const bool ApproxS2=false)
 performs general intersection of two surfaces just now
 
void Perform (const occ::handle< Geom_Surface > &S1, const occ::handle< Geom_Surface > &S2, const double Tol, const bool Approx=true, const bool ApproxS1=false, const bool ApproxS2=false)
 general intersection of two surfaces
 
void Perform (const occ::handle< GeomAdaptor_Surface > &HS1, const occ::handle< GeomAdaptor_Surface > &HS2, const double Tol, const bool Approx=true, const bool ApproxS1=false, const bool ApproxS2=false)
 intersection of adapted surfaces
 
void Perform (const occ::handle< Geom_Surface > &S1, const occ::handle< Geom_Surface > &S2, const double Tol, const double U1, const double V1, const double U2, const double V2, const bool Approx=true, const bool ApproxS1=false, const bool ApproxS2=false)
 general intersection using a starting point
 
void Perform (const occ::handle< GeomAdaptor_Surface > &HS1, const occ::handle< GeomAdaptor_Surface > &HS2, const double Tol, const double U1, const double V1, const double U2, const double V2, const bool Approx=true, const bool ApproxS1=false, const bool ApproxS2=false)
 intersection of adapted surfaces using a starting point
 
bool IsDone () const
 
double TolReached3d () const
 
double TolReached2d () const
 
int NbLines () const
 
const occ::handle< Geom_Curve > & Line (const int Index) const
 
bool HasLineOnS1 (const int Index) const
 
const occ::handle< Geom2d_Curve > & LineOnS1 (const int Index) const
 
bool HasLineOnS2 (const int Index) const
 
const occ::handle< Geom2d_Curve > & LineOnS2 (const int Index) const
 
int NbBoundaries () const
 
const occ::handle< Geom_Curve > & Boundary (const int Index) const
 
int NbPoints () const
 
gp_Pnt Point (const int Index) const
 
gp_Pnt2d Pnt2d (const int Index, const bool OnFirst) const
 
void SetTolFixTangents (const double aTolCheck, const double aTolAngCheck)
 
void TolFixTangents (double &aTolCheck, double &aTolAngCheck)
 

Static Public Member Functions

static void TreatRLine (const occ::handle< IntPatch_RLine > &theRL, const occ::handle< GeomAdaptor_Surface > &theHS1, const occ::handle< GeomAdaptor_Surface > &theHS2, occ::handle< Geom_Curve > &theC3d, occ::handle< Geom2d_Curve > &theC2d1, occ::handle< Geom2d_Curve > &theC2d2, double &theTolReached)
 converts RLine to Geom(2d)_Curve.
 
static void BuildPCurves (const double theFirst, const double theLast, const double theUmin, const double theUmax, const double theVmin, const double theVmax, double &theTol, const occ::handle< Geom_Surface > &theSurface, const occ::handle< Geom_Curve > &theCurve, occ::handle< Geom2d_Curve > &theCurve2d)
 creates 2D-curve on given surface from given 3D-curve
 
static void BuildPCurves (const double f, const double l, double &Tol, const occ::handle< Geom_Surface > &S, const occ::handle< Geom_Curve > &C, occ::handle< Geom2d_Curve > &C2d)
 creates 2D-curve on given surface from given 3D-curve
 
static void TrimILineOnSurfBoundaries (const occ::handle< Geom2d_Curve > &theC2d1, const occ::handle< Geom2d_Curve > &theC2d2, const Bnd_Box2d &theBound1, const Bnd_Box2d &theBound2, NCollection_DynamicArray< double > &theArrayOfParameters)
 puts into theArrayOfParameters the parameters of intersection points of given theC2d1 and theC2d2 curves with the boundaries of the source surface.
 
static occ::handle< Geom_CurveMakeBSpline (const occ::handle< IntPatch_WLine > &WL, const int ideb, const int ifin)
 
static occ::handle< Geom2d_BSplineCurveMakeBSpline2d (const occ::handle< IntPatch_WLine > &theWLine, const int ideb, const int ifin, const bool onFirst)
 

Protected Member Functions

void InternalPerform (const double Tol, const bool Approx, const bool ApproxS1, const bool ApproxS2, const bool useStart, const double U1, const double V1, const double U2, const double V2)
 
void MakeCurve (const int Ind, const occ::handle< Adaptor3d_TopolTool > &D1, const occ::handle< Adaptor3d_TopolTool > &D2, const double Tol, const bool Approx, const bool Approx1, const bool Approx2)
 

Constructor & Destructor Documentation

◆ GeomInt_IntSS() [1/2]

GeomInt_IntSS::GeomInt_IntSS ( )

◆ GeomInt_IntSS() [2/2]

GeomInt_IntSS::GeomInt_IntSS ( const occ::handle< Geom_Surface > & S1,
const occ::handle< Geom_Surface > & S2,
const double Tol,
const bool Approx = true,
const bool ApproxS1 = false,
const bool ApproxS2 = false )

performs general intersection of two surfaces just now

Member Function Documentation

◆ Boundary()

const occ::handle< Geom_Curve > & GeomInt_IntSS::Boundary ( const int Index) const

◆ BuildPCurves() [1/2]

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

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

◆ BuildPCurves() [2/2]

static void GeomInt_IntSS::BuildPCurves ( const double theFirst,
const double theLast,
const double theUmin,
const double theUmax,
const double theVmin,
const double theVmax,
double & theTol,
const occ::handle< Geom_Surface > & theSurface,
const occ::handle< Geom_Curve > & theCurve,
occ::handle< Geom2d_Curve > & theCurve2d )
static

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

◆ HasLineOnS1()

bool GeomInt_IntSS::HasLineOnS1 ( const int Index) const

◆ HasLineOnS2()

bool GeomInt_IntSS::HasLineOnS2 ( const int Index) const

◆ InternalPerform()

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

◆ IsDone()

bool GeomInt_IntSS::IsDone ( ) const

◆ Line()

const occ::handle< Geom_Curve > & GeomInt_IntSS::Line ( const int Index) const

◆ LineOnS1()

const occ::handle< Geom2d_Curve > & GeomInt_IntSS::LineOnS1 ( const int Index) const

◆ LineOnS2()

const occ::handle< Geom2d_Curve > & GeomInt_IntSS::LineOnS2 ( const int Index) const

◆ MakeBSpline()

static occ::handle< Geom_Curve > GeomInt_IntSS::MakeBSpline ( const occ::handle< IntPatch_WLine > & WL,
const int ideb,
const int ifin )
static

◆ MakeBSpline2d()

static occ::handle< Geom2d_BSplineCurve > GeomInt_IntSS::MakeBSpline2d ( const occ::handle< IntPatch_WLine > & theWLine,
const int ideb,
const int ifin,
const bool onFirst )
static

◆ MakeCurve()

void GeomInt_IntSS::MakeCurve ( const int Ind,
const occ::handle< Adaptor3d_TopolTool > & D1,
const occ::handle< Adaptor3d_TopolTool > & D2,
const double Tol,
const bool Approx,
const bool Approx1,
const bool Approx2 )
protected

◆ NbBoundaries()

int GeomInt_IntSS::NbBoundaries ( ) const

◆ NbLines()

int GeomInt_IntSS::NbLines ( ) const

◆ NbPoints()

int GeomInt_IntSS::NbPoints ( ) const

◆ Perform() [1/4]

void GeomInt_IntSS::Perform ( const occ::handle< Geom_Surface > & S1,
const occ::handle< Geom_Surface > & S2,
const double Tol,
const bool Approx = true,
const bool ApproxS1 = false,
const bool ApproxS2 = false )

general intersection of two surfaces

◆ Perform() [2/4]

void GeomInt_IntSS::Perform ( const occ::handle< Geom_Surface > & S1,
const occ::handle< Geom_Surface > & S2,
const double Tol,
const double U1,
const double V1,
const double U2,
const double V2,
const bool Approx = true,
const bool ApproxS1 = false,
const bool ApproxS2 = false )

general intersection using a starting point

◆ Perform() [3/4]

void GeomInt_IntSS::Perform ( const occ::handle< GeomAdaptor_Surface > & HS1,
const occ::handle< GeomAdaptor_Surface > & HS2,
const double Tol,
const bool Approx = true,
const bool ApproxS1 = false,
const bool ApproxS2 = false )

intersection of adapted surfaces

◆ Perform() [4/4]

void GeomInt_IntSS::Perform ( const occ::handle< GeomAdaptor_Surface > & HS1,
const occ::handle< GeomAdaptor_Surface > & HS2,
const double Tol,
const double U1,
const double V1,
const double U2,
const double V2,
const bool Approx = true,
const bool ApproxS1 = false,
const bool ApproxS2 = false )

intersection of adapted surfaces using a starting point

◆ Pnt2d()

gp_Pnt2d GeomInt_IntSS::Pnt2d ( const int Index,
const bool OnFirst ) const

◆ Point()

gp_Pnt GeomInt_IntSS::Point ( const int Index) const

◆ SetTolFixTangents()

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

◆ TolFixTangents()

void GeomInt_IntSS::TolFixTangents ( double & aTolCheck,
double & aTolAngCheck )

◆ TolReached2d()

double GeomInt_IntSS::TolReached2d ( ) const

◆ TolReached3d()

double GeomInt_IntSS::TolReached3d ( ) const

◆ TreatRLine()

static void GeomInt_IntSS::TreatRLine ( const occ::handle< IntPatch_RLine > & theRL,
const occ::handle< GeomAdaptor_Surface > & theHS1,
const occ::handle< GeomAdaptor_Surface > & theHS2,
occ::handle< Geom_Curve > & theC3d,
occ::handle< Geom2d_Curve > & theC2d1,
occ::handle< Geom2d_Curve > & theC2d2,
double & theTolReached )
static

converts RLine to Geom(2d)_Curve.

◆ TrimILineOnSurfBoundaries()

static void GeomInt_IntSS::TrimILineOnSurfBoundaries ( const occ::handle< Geom2d_Curve > & theC2d1,
const occ::handle< Geom2d_Curve > & theC2d2,
const Bnd_Box2d & theBound1,
const Bnd_Box2d & theBound2,
NCollection_DynamicArray< double > & 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: