Open CASCADE Technology  6.9.1
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_HArray1OfLineInterLines ()
 
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 ( )

Member Function Documentation

TopOpeBRep_LineInter& TopOpeBRep_FacesIntersector::ChangeLine ( const Standard_Integer  IL)
TopOpeBRep_LineInter& TopOpeBRep_FacesIntersector::CurrentLine ( )
Standard_Integer TopOpeBRep_FacesIntersector::CurrentLineIndex ( ) const
const TopoDS_Shape& TopOpeBRep_FacesIntersector::Face ( const Standard_Integer  Index) const

returns first or second intersected face.

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

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

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.

void TopOpeBRep_FacesIntersector::InitLine ( )
Standard_Boolean TopOpeBRep_FacesIntersector::IsDone ( ) const
Standard_Boolean TopOpeBRep_FacesIntersector::IsEmpty ( )
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.

Handle< TopOpeBRep_HArray1OfLineInter > TopOpeBRep_FacesIntersector::Lines ( )
Standard_Boolean TopOpeBRep_FacesIntersector::MoreLine ( ) const
Standard_Integer TopOpeBRep_FacesIntersector::NbLines ( ) const
void TopOpeBRep_FacesIntersector::NextLine ( )
void TopOpeBRep_FacesIntersector::Perform ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)

Computes the intersection of faces S1 and S2.

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.

void TopOpeBRep_FacesIntersector::PrepareLines ( )
const TopTools_IndexedMapOfShape& TopOpeBRep_FacesIntersector::Restrictions ( ) const

returns the map of edges found as TopeBRepBRep_RESTRICTION

Standard_Boolean TopOpeBRep_FacesIntersector::SameDomain ( ) const

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

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: