Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GeomAPI_IntSS Class Reference

This class implements methods for computing the intersection curves between two surfaces. The result is curves from Geom. The "domain" used for a surface is the natural parametric domain unless the surface is a RectangularTrimmedSurface from Geom. More...

#include <GeomAPI_IntSS.hxx>

Public Member Functions

 GeomAPI_IntSS ()
 Constructs an empty object. Use the function Perform for further initialization algorithm by two surfaces.
 
 GeomAPI_IntSS (const occ::handle< Geom_Surface > &S1, const occ::handle< Geom_Surface > &S2, const double Tol)
 Computes the intersection curves between the two surfaces S1 and S2. Parameter Tol defines the precision of curves computation. For most cases the value 1.0e-7 is recommended to use. Warning Use the function IsDone to verify that the intersections are successfully computed.I.
 
void Perform (const occ::handle< Geom_Surface > &S1, const occ::handle< Geom_Surface > &S2, const double Tol)
 Initializes an algorithm with the given arguments and computes the intersection curves between the two surfaces S1 and S2. Parameter Tol defines the precision of curves computation. For most cases the value 1.0e-7 is recommended to use. Warning Use function IsDone to verify that the intersections are successfully computed.
 
bool IsDone () const
 Returns True if the intersection was successful.
 
int NbLines () const
 Returns the number of computed intersection curves. Exceptions StdFail_NotDone if the computation fails.
 
const occ::handle< Geom_Curve > & Line (const int Index) const
 Returns the computed intersection curve of index Index. Exceptions StdFail_NotDone if the computation fails. Standard_OutOfRange if Index is out of range [1, NbLines] where NbLines is the number of computed intersection curves.
 

Detailed Description

This class implements methods for computing the intersection curves between two surfaces. The result is curves from Geom. The "domain" used for a surface is the natural parametric domain unless the surface is a RectangularTrimmedSurface from Geom.

Constructor & Destructor Documentation

◆ GeomAPI_IntSS() [1/2]

GeomAPI_IntSS::GeomAPI_IntSS ( )

Constructs an empty object. Use the function Perform for further initialization algorithm by two surfaces.

◆ GeomAPI_IntSS() [2/2]

GeomAPI_IntSS::GeomAPI_IntSS ( const occ::handle< Geom_Surface > & S1,
const occ::handle< Geom_Surface > & S2,
const double Tol )

Computes the intersection curves between the two surfaces S1 and S2. Parameter Tol defines the precision of curves computation. For most cases the value 1.0e-7 is recommended to use. Warning Use the function IsDone to verify that the intersections are successfully computed.I.

Member Function Documentation

◆ IsDone()

bool GeomAPI_IntSS::IsDone ( ) const

Returns True if the intersection was successful.

◆ Line()

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

Returns the computed intersection curve of index Index. Exceptions StdFail_NotDone if the computation fails. Standard_OutOfRange if Index is out of range [1, NbLines] where NbLines is the number of computed intersection curves.

◆ NbLines()

int GeomAPI_IntSS::NbLines ( ) const

Returns the number of computed intersection curves. Exceptions StdFail_NotDone if the computation fails.

◆ Perform()

void GeomAPI_IntSS::Perform ( const occ::handle< Geom_Surface > & S1,
const occ::handle< Geom_Surface > & S2,
const double Tol )

Initializes an algorithm with the given arguments and computes the intersection curves between the two surfaces S1 and S2. Parameter Tol defines the precision of curves computation. For most cases the value 1.0e-7 is recommended to use. Warning Use function IsDone to verify that the intersections are successfully computed.


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