|
Open CASCADE Technology
6.7.1
|
An Arc is associated to each Bisecting of the mat.
More...
#include <MAT_Arc.hxx>

Public Member Functions | |
| MAT_Arc (const Standard_Integer ArcIndex, const Standard_Integer GeomIndex, const Handle< MAT_BasicElt > &FirstElement, const Handle< MAT_BasicElt > &SecondElement) | |
| Standard_Integer | Index () const |
| Returns the index of <me> in Graph.theArcs. More... | |
| Standard_Integer | GeomIndex () const |
| Returns the index associated of the geometric representation of <me>. More... | |
| Handle_MAT_BasicElt | FirstElement () const |
| Returns one of the BasicElt equidistant from <me>. More... | |
| Handle_MAT_BasicElt | SecondElement () const |
| Returns the other BasicElt equidistant from <me>. More... | |
| Handle_MAT_Node | FirstNode () const |
| Returns one Node extremity of <me>. More... | |
| Handle_MAT_Node | SecondNode () const |
| Returns the other Node extremity of <me>. More... | |
| Handle_MAT_Node | TheOtherNode (const Handle< MAT_Node > &aNode) const |
an Arc has two Node, if <aNode> egal one <br>
Returns the other. <br>
| |
| Standard_Boolean | HasNeighbour (const Handle< MAT_Node > &aNode, const MAT_Side aSide) const |
| Returnst True is there is an arc linked to the Node <aNode> located on the side <aSide> of <me>; //! if <aNode> is not on <me> More... | |
| Handle_MAT_Arc | Neighbour (const Handle< MAT_Node > &aNode, const MAT_Side aSide) const |
| Returns the first arc linked to the Node <aNode> located on the side <aSide> of <me>; //! if HasNeighbour() returns FALSE. More... | |
| void | SetIndex (const Standard_Integer anInteger) |
| void | SetGeomIndex (const Standard_Integer anInteger) |
| void | SetFirstElement (const Handle< MAT_BasicElt > &aBasicElt) |
| void | SetSecondElement (const Handle< MAT_BasicElt > &aBasicElt) |
| void | SetFirstNode (const Handle< MAT_Node > &aNode) |
| void | SetSecondNode (const Handle< MAT_Node > &aNode) |
| void | SetFirstArc (const MAT_Side aSide, const Handle< MAT_Arc > &anArc) |
| void | SetSecondArc (const MAT_Side aSide, const Handle< MAT_Arc > &anArc) |
| void | SetNeighbour (const MAT_Side aSide, const Handle< MAT_Node > &aNode, const Handle< MAT_Arc > &anArc) |
Public Member Functions inherited from MMgt_TShared | |
| virtual void | Delete () const |
| Memory deallocator for transient classes. More... | |
Public Member Functions inherited from Standard_Transient | |
| Standard_Transient () | |
| Empty constructor. More... | |
| Standard_Transient (const Standard_Transient &) | |
| Copy constructor – does nothing. More... | |
| Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. More... | |
| virtual | ~Standard_Transient () |
| Destructor must be virtual. More... | |
| virtual void | ShallowDump (Standard_OStream &) const |
| virtual const Handle_Standard_Type & | DynamicType () const |
| Returns a type information object about this object. More... | |
| Standard_Boolean | IsInstance (const Handle_Standard_Type &theType) const |
| Returns a true value if this is an instance of Type. More... | |
| Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| Returns a true value if this is an instance of TypeName. More... | |
| Standard_Boolean | IsKind (const Handle_Standard_Type &theType) const |
| Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
| Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
| Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
| virtual Handle_Standard_Transient | This () const |
| Returns a Handle which references this object. Must never be called to objects created in stack. More... | |
| Standard_Integer | GetRefCount () const |
| Get the reference counter of this object. More... | |
An Arc is associated to each Bisecting of the mat.
| MAT_Arc::MAT_Arc | ( | const Standard_Integer | ArcIndex, |
| const Standard_Integer | GeomIndex, | ||
| const Handle< MAT_BasicElt > & | FirstElement, | ||
| const Handle< MAT_BasicElt > & | SecondElement | ||
| ) |
| Handle_MAT_BasicElt MAT_Arc::FirstElement | ( | ) | const |
Returns one of the BasicElt equidistant from <me>.
| Handle_MAT_Node MAT_Arc::FirstNode | ( | ) | const |
Returns one Node extremity of <me>.
| Standard_Integer MAT_Arc::GeomIndex | ( | ) | const |
Returns the index associated of the geometric
representation of <me>.
| Standard_Boolean MAT_Arc::HasNeighbour | ( | const Handle< MAT_Node > & | aNode, |
| const MAT_Side | aSide | ||
| ) | const |
Returnst True is there is an arc linked to
the Node <aNode> located on the side <aSide> of <me>;
//! if <aNode> is not on <me>
| Standard_Integer MAT_Arc::Index | ( | ) | const |
Returns the index of <me> in Graph.theArcs.
Returns the first arc linked to the Node <aNode>
located on the side <aSide> of <me>;
//! if HasNeighbour() returns FALSE.
| Handle_MAT_BasicElt MAT_Arc::SecondElement | ( | ) | const |
Returns the other BasicElt equidistant from <me>.
| Handle_MAT_Node MAT_Arc::SecondNode | ( | ) | const |
Returns the other Node extremity of <me>.
| void MAT_Arc::SetFirstElement | ( | const Handle< MAT_BasicElt > & | aBasicElt | ) |
| void MAT_Arc::SetGeomIndex | ( | const Standard_Integer | anInteger | ) |
| void MAT_Arc::SetIndex | ( | const Standard_Integer | anInteger | ) |
| void MAT_Arc::SetNeighbour | ( | const MAT_Side | aSide, |
| const Handle< MAT_Node > & | aNode, | ||
| const Handle< MAT_Arc > & | anArc | ||
| ) |
| void MAT_Arc::SetSecondElement | ( | const Handle< MAT_BasicElt > & | aBasicElt | ) |
an Arc has two Node, if <aNode> egal one <br>
Returns the other. <br>
//! if <aNode> is not oh <me>
1.8.5