#include <MAT2d_MiniPath.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | MAT2d_MiniPath () |
Standard_EXPORT void | Perform (const MAT2d_SequenceOfSequenceOfGeometry &Figure, const Standard_Integer IndStart, const Standard_Boolean Sense) |
Computes the path to link the lines in <figure>. the path starts on the line of index <indstart> <sense> = True if the Circuit turns in the trigonometric sense. . | |
Standard_EXPORT void | RunOnConnexions () |
Run on the set of connexions to compute the path. the path is an exploration of the tree which contains the connexions and their reverses. if the tree of connexions is A / \ B E / \ \ C D F the path is A->B, B->C, C->B, B->D, D->B, B->A, A->E, E->F, F->E, E->A. . | |
Standard_EXPORT const MAT2d_SequenceOfConnexion & | Path () const |
Returns the sequence of connexions corresponding to the path. . | |
Standard_EXPORT Standard_Boolean | IsConnexionsFrom (const Standard_Integer Index) const |
Returns <true> if there is one Connexion which starts on line designed by <index>. . | |
Standard_EXPORT MAT2d_SequenceOfConnexion & | ConnexionsFrom (const Standard_Integer Index) |
Returns the connexions which start on line designed by <index>. . | |
Standard_EXPORT Standard_Boolean | IsRoot (const Standard_Integer Index) const |
Returns <true> if the line designed by <index> is the root. . | |
Standard_EXPORT Handle_MAT2d_Connexion | Father (const Standard_Integer Index) |
Returns the connexion which ends on line designed by <index>. . | |
Private Member Functions | |
Standard_EXPORT void | Append (const Handle(MAT2d_Connexion)&Connexion) |
Add a connexion to the path. . | |
Standard_EXPORT void | ExploSons (MAT2d_SequenceOfConnexion &aPath, const Handle(MAT2d_Connexion)&aConnexion) |
Standard_EXPORT Handle_MAT2d_Connexion | MinimumL1L2 (const MAT2d_SequenceOfSequenceOfGeometry &Figure, const Standard_Integer L1, const Standard_Integer L2) const |
Returns the connexion which realises the minimum of distance between the lines of index <l1> and <l2> in <afigure>. The connexion is oriented from <l1> to <l2>. . | |
Private Attributes | |
MAT2d_DataMapOfIntegerSequenceOfConnexion | theConnexions |
MAT2d_DataMapOfIntegerConnexion | theFather |
MAT2d_SequenceOfConnexion | thePath |
Standard_Real | theDirection |
Standard_Integer | indStart |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|