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

Describes the intersection of two faces. More...

#include <TopOpeBRep_FacesIntersector.hxx>

Public Member Functions

 TopOpeBRep_FacesIntersector ()
 
void Perform (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Computes the intersection of faces S1 and S2.
 
void Perform (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const Bnd_Box &B1, const Bnd_Box &B2)
 Computes the intersection of faces S1 and S2.
 
bool IsEmpty ()
 
bool IsDone () const
 
bool SameDomain () const
 Returns True if Perform() arguments are two faces with the same surface.
 
const TopoDS_ShapeFace (const int Index) const
 returns first or second intersected face.
 
bool SurfacesSameOriented () const
 Returns True if Perform() arguments are two faces SameDomain() and normals on both side. Raise if SameDomain is False.
 
bool IsRestriction (const TopoDS_Shape &E) const
 returns true if edge <E> is found as same as the edge associated with a RESTRICTION line.
 
const NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHasher > & Restrictions () const
 returns the map of edges found as TopeBRepBRep_RESTRICTION
 
void PrepareLines ()
 
occ::handle< NCollection_HArray1< TopOpeBRep_LineInter > > Lines ()
 
int NbLines () const
 
void InitLine ()
 
bool MoreLine () const
 
void NextLine ()
 
TopOpeBRep_LineInterCurrentLine ()
 
int CurrentLineIndex () const
 
TopOpeBRep_LineInterChangeLine (const int IL)
 
void ForceTolerances (const double tolarc, const double toltang)
 Force the tolerance values used by the next Perform(S1,S2) call.
 
void GetTolerances (double &tolarc, double &toltang) const
 Return the tolerance values used in the last Perform() call If ForceTolerances() has been called, return the given values. If not, return values extracted from shapes.
 

Detailed Description

Describes the intersection of two faces.

Constructor & Destructor Documentation

◆ TopOpeBRep_FacesIntersector()

TopOpeBRep_FacesIntersector::TopOpeBRep_FacesIntersector ( )

Member Function Documentation

◆ ChangeLine()

TopOpeBRep_LineInter & TopOpeBRep_FacesIntersector::ChangeLine ( const int IL)

◆ CurrentLine()

TopOpeBRep_LineInter & TopOpeBRep_FacesIntersector::CurrentLine ( )

◆ CurrentLineIndex()

int TopOpeBRep_FacesIntersector::CurrentLineIndex ( ) const

◆ Face()

const TopoDS_Shape & TopOpeBRep_FacesIntersector::Face ( const int Index) const

returns first or second intersected face.

◆ ForceTolerances()

void TopOpeBRep_FacesIntersector::ForceTolerances ( const double tolarc,
const double toltang )

Force the tolerance values used by the next Perform(S1,S2) call.

◆ GetTolerances()

void TopOpeBRep_FacesIntersector::GetTolerances ( double & tolarc,
double & toltang ) const

Return the tolerance values used in the last Perform() call If ForceTolerances() has been called, return the given values. If not, return values extracted from shapes.

◆ InitLine()

void TopOpeBRep_FacesIntersector::InitLine ( )

◆ IsDone()

bool TopOpeBRep_FacesIntersector::IsDone ( ) const

◆ IsEmpty()

bool TopOpeBRep_FacesIntersector::IsEmpty ( )

◆ IsRestriction()

bool TopOpeBRep_FacesIntersector::IsRestriction ( const TopoDS_Shape & E) const

returns true if edge <E> is found as same as the edge associated with a RESTRICTION line.

◆ Lines()

occ::handle< NCollection_HArray1< TopOpeBRep_LineInter > > TopOpeBRep_FacesIntersector::Lines ( )

◆ MoreLine()

bool TopOpeBRep_FacesIntersector::MoreLine ( ) const

◆ NbLines()

int TopOpeBRep_FacesIntersector::NbLines ( ) const

◆ NextLine()

void TopOpeBRep_FacesIntersector::NextLine ( )

◆ Perform() [1/2]

void TopOpeBRep_FacesIntersector::Perform ( const TopoDS_Shape & S1,
const TopoDS_Shape & S2 )

Computes the intersection of faces S1 and S2.

◆ Perform() [2/2]

void TopOpeBRep_FacesIntersector::Perform ( const TopoDS_Shape & S1,
const TopoDS_Shape & S2,
const Bnd_Box & B1,
const Bnd_Box & B2 )

Computes the intersection of faces S1 and S2.

◆ PrepareLines()

void TopOpeBRep_FacesIntersector::PrepareLines ( )

◆ Restrictions()

const NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHasher > & TopOpeBRep_FacesIntersector::Restrictions ( ) const

returns the map of edges found as TopeBRepBRep_RESTRICTION

◆ SameDomain()

bool TopOpeBRep_FacesIntersector::SameDomain ( ) const

Returns True if Perform() arguments are two faces with the same surface.

◆ SurfacesSameOriented()

bool TopOpeBRep_FacesIntersector::SurfacesSameOriented ( ) const

Returns True if Perform() arguments are two faces SameDomain() and normals on both side. Raise if SameDomain is False.


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