Open CASCADE Technology  7.3.0
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. More...
 
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. More...
 
Standard_Boolean IsEmpty ()
 
Standard_Boolean IsDone () const
 
Standard_Boolean SameDomain () const
 Returns True if Perform() arguments are two faces with the same surface. More...
 
const TopoDS_ShapeFace (const Standard_Integer Index) const
 returns first or second intersected face. More...
 
Standard_Boolean SurfacesSameOriented () const
 Returns True if Perform() arguments are two faces SameDomain() and normals on both side. Raise if SameDomain is False. More...
 
Standard_Boolean IsRestriction (const TopoDS_Shape &E) const
 returns true if edge <E> is found as same as the edge associated with a RESTRICTION line. More...
 
const TopTools_IndexedMapOfShapeRestrictions () const
 returns the map of edges found as TopeBRepBRep_RESTRICTION More...
 
void PrepareLines ()
 
Handle< TopOpeBRep_HArray1OfLineInter > Lines ()
 
Standard_Integer NbLines () const
 
void InitLine ()
 
Standard_Boolean MoreLine () const
 
void NextLine ()
 
TopOpeBRep_LineInterCurrentLine ()
 
Standard_Integer CurrentLineIndex () const
 
TopOpeBRep_LineInterChangeLine (const Standard_Integer IL)
 
void ForceTolerances (const Standard_Real tolarc, const Standard_Real toltang)
 Force the tolerance values used by the next Perform(S1,S2) call. More...
 
void GetTolerances (Standard_Real &tolarc, Standard_Real &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. More...
 

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 Standard_Integer  IL)

◆ CurrentLine()

TopOpeBRep_LineInter& TopOpeBRep_FacesIntersector::CurrentLine ( )

◆ CurrentLineIndex()

Standard_Integer TopOpeBRep_FacesIntersector::CurrentLineIndex ( ) const

◆ Face()

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

returns first or second intersected face.

◆ ForceTolerances()

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

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

◆ GetTolerances()

void TopOpeBRep_FacesIntersector::GetTolerances ( Standard_Real tolarc,
Standard_Real 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()

Standard_Boolean TopOpeBRep_FacesIntersector::IsDone ( ) const

◆ IsEmpty()

Standard_Boolean TopOpeBRep_FacesIntersector::IsEmpty ( )

◆ IsRestriction()

Standard_Boolean 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()

Handle< TopOpeBRep_HArray1OfLineInter > TopOpeBRep_FacesIntersector::Lines ( )

◆ MoreLine()

Standard_Boolean TopOpeBRep_FacesIntersector::MoreLine ( ) const

◆ NbLines()

Standard_Integer 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 TopTools_IndexedMapOfShape& TopOpeBRep_FacesIntersector::Restrictions ( ) const

returns the map of edges found as TopeBRepBRep_RESTRICTION

◆ SameDomain()

Standard_Boolean TopOpeBRep_FacesIntersector::SameDomain ( ) const

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

◆ SurfacesSameOriented()

Standard_Boolean 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: