Open CASCADE Technology 7.8.0
|
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. | |
Standard_Boolean | IsEmpty () |
Standard_Boolean | IsDone () const |
Standard_Boolean | SameDomain () const |
Returns True if Perform() arguments are two faces with the same surface. | |
const TopoDS_Shape & | Face (const Standard_Integer Index) const |
returns first or second intersected face. | |
Standard_Boolean | SurfacesSameOriented () const |
Returns True if Perform() arguments are two faces SameDomain() and normals on both side. Raise if SameDomain is False. | |
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. | |
const TopTools_IndexedMapOfShape & | Restrictions () const |
returns the map of edges found as TopeBRepBRep_RESTRICTION | |
void | PrepareLines () |
Handle< TopOpeBRep_HArray1OfLineInter > | Lines () |
Standard_Integer | NbLines () const |
void | InitLine () |
Standard_Boolean | MoreLine () const |
void | NextLine () |
TopOpeBRep_LineInter & | CurrentLine () |
Standard_Integer | CurrentLineIndex () const |
TopOpeBRep_LineInter & | ChangeLine (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. | |
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. | |
Describes the intersection of two faces.
TopOpeBRep_FacesIntersector::TopOpeBRep_FacesIntersector | ( | ) |
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.