Open CASCADE Technology  7.0.0
Public Member Functions
MAT_Arc Class Reference

An Arc is associated to each Bisecting of the mat. More...

#include <MAT_Arc.hxx>

Inheritance diagram for MAT_Arc:
Inheritance graph
[legend]

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_BasicEltFirstElement () const
 Returns one of the BasicElt equidistant from <me>. More...
 
Handle< MAT_BasicEltSecondElement () const
 Returns the other BasicElt equidistant from <me>. More...
 
Handle< MAT_NodeFirstNode () const
 Returns one Node extremity of <me>. More...
 
Handle< MAT_NodeSecondNode () const
 Returns the other Node extremity of <me>. More...
 
Handle< MAT_NodeTheOtherNode (const Handle< MAT_Node > &aNode) const
 an Arc has two Node, if <aNode> egal one Returns the other. More...
 
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_ArcNeighbour (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 override
 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_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::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 opencascade::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...
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 

Detailed Description

An Arc is associated to each Bisecting of the mat.

Constructor & Destructor Documentation

MAT_Arc::MAT_Arc ( const Standard_Integer  ArcIndex,
const Standard_Integer  GeomIndex,
const Handle< MAT_BasicElt > &  FirstElement,
const Handle< MAT_BasicElt > &  SecondElement 
)

Member Function Documentation

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.

Handle< MAT_Arc > 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.

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::SetFirstArc ( const MAT_Side  aSide,
const Handle< MAT_Arc > &  anArc 
)
void MAT_Arc::SetFirstElement ( const Handle< MAT_BasicElt > &  aBasicElt)
void MAT_Arc::SetFirstNode ( const Handle< MAT_Node > &  aNode)
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::SetSecondArc ( const MAT_Side  aSide,
const Handle< MAT_Arc > &  anArc 
)
void MAT_Arc::SetSecondElement ( const Handle< MAT_BasicElt > &  aBasicElt)
void MAT_Arc::SetSecondNode ( const Handle< MAT_Node > &  aNode)
Handle< MAT_Node > MAT_Arc::TheOtherNode ( const Handle< MAT_Node > &  aNode) const

an Arc has two Node, if <aNode> egal one Returns the other.

if <aNode> is not oh <me>


The documentation for this class was generated from the following file: