Open CASCADE Technology
7.1.0.beta
|
Auxilary class implementing functionality for checking interference between two discretized wires. More...
#include <BRepMesh_WireInterferenceChecker.hxx>
Public Types | |
enum | IntFlag { NoIntersection, Cross, EndPointTouch, PointOnSegment, Glued, Same } |
Enumerates states of segments intersection check. More... | |
Public Member Functions | |
BRepMesh_WireInterferenceChecker (const BRepMesh::Array1OfSegmentsTree &theWires, BRepMesh_Status *theStatus, Standard_Mutex *theMutex=NULL) | |
Constructor. More... | |
void | operator() (const Standard_Integer &theWireId) const |
Checker's body. More... | |
Auxilary class implementing functionality for checking interference between two discretized wires.
BRepMesh_WireInterferenceChecker::BRepMesh_WireInterferenceChecker | ( | const BRepMesh::Array1OfSegmentsTree & | theWires, |
BRepMesh_Status * | theStatus, | ||
Standard_Mutex * | theMutex = NULL |
||
) |
Constructor.
theWires | wires that should be checked. |
theStatus | shared flag to set status of the check. |
theMutex | shared mutex for parallel processing. |
void BRepMesh_WireInterferenceChecker::operator() | ( | const Standard_Integer & | theWireId | ) | const |
Checker's body.
theWireId | Id of discretized wire to be checked. |