SMDS_PolygonalFaceOfNodes Class Reference

#include <SMDS_PolygonalFaceOfNodes.hxx>

Inheritance diagram for SMDS_PolygonalFaceOfNodes:
Inheritance graph
Collaboration diagram for SMDS_PolygonalFaceOfNodes:
Collaboration graph

Public Member Functions

 SMDS_PolygonalFaceOfNodes (std::vector< const SMDS_MeshNode * > nodes)
virtual SMDSAbs_ElementType GetType () const
 Return the type of the current element.
virtual SMDSAbs_EntityType GetEntityType () const
 Return type of entity.
virtual bool IsPoly () const
bool ChangeNodes (std::vector< const SMDS_MeshNode * > nodes)
bool ChangeNodes (const SMDS_MeshNode *nodes[], const int nbNodes)
virtual int NbNodes () const
virtual int NbEdges () const
virtual int NbFaces () const
virtual void Print (std::ostream &OS) const
virtual const SMDS_MeshNodeGetNode (const int ind) const
 Return node by its index.
SMDS_ElemIteratorPtr nodesIterator () const
SMDS_ElemIteratorPtr edgesIterator () const
SMDS_ElemIteratorPtr facesIterator () const
int GetID () const
virtual bool IsQuadratic () const
virtual bool IsMediumNode (const SMDS_MeshNode *node) const
const SMDS_MeshNodeGetNodeWrap (const int ind) const
 Return node by its index.
virtual bool IsValidIndex (const int ind) const
 Return true if index of node is valid (0 <= ind < NbNodes()).
int WrappedIndex (const int ind) const
 Return a valid node index, fixing the given one if necessary.
int GetNodeIndex (const SMDS_MeshNode *node) const
 Check if a node belongs to the element.

Protected Member Functions

virtual SMDS_ElemIteratorPtr elementsIterator (SMDSAbs_ElementType type) const

Private Attributes

std::vector< const
SMDS_MeshNode * > 
myNodes

Friends

SMDS_EXPORT std::ostream & operator<< (std::ostream &OS, const SMDS_MeshElement *)
SMDS_EXPORT bool SMDS_MeshElementIDFactory::BindID (int ID, SMDS_MeshElement *elem)

Detailed Description

Definition at line 37 of file SMDS_PolygonalFaceOfNodes.hxx.


Constructor & Destructor Documentation

SMDS_PolygonalFaceOfNodes.SMDS_PolygonalFaceOfNodes ( std::vector< const SMDS_MeshNode * >  nodes  ) 

Member Function Documentation

virtual SMDSAbs_ElementType SMDS_PolygonalFaceOfNodes.GetType (  )  const [virtual]

Return the type of the current element.

Reimplemented from SMDS_MeshFace.

virtual SMDSAbs_EntityType SMDS_PolygonalFaceOfNodes.GetEntityType (  )  const [virtual]

Return type of entity.

Implements SMDS_MeshElement.

Definition at line 43 of file SMDS_PolygonalFaceOfNodes.hxx.

References SMDSEntity_Polygon.

virtual bool SMDS_PolygonalFaceOfNodes.IsPoly (  )  const [virtual]

Reimplemented from SMDS_MeshElement.

Definition at line 44 of file SMDS_PolygonalFaceOfNodes.hxx.

bool SMDS_PolygonalFaceOfNodes.ChangeNodes ( std::vector< const SMDS_MeshNode * >  nodes  ) 
bool SMDS_PolygonalFaceOfNodes.ChangeNodes ( const SMDS_MeshNode nodes[],
const int  nbNodes 
)
virtual int SMDS_PolygonalFaceOfNodes.NbNodes (  )  const [virtual]

Reimplemented from SMDS_MeshElement.

virtual int SMDS_PolygonalFaceOfNodes.NbEdges (  )  const [virtual]

Reimplemented from SMDS_MeshElement.

virtual int SMDS_PolygonalFaceOfNodes.NbFaces (  )  const [virtual]

Reimplemented from SMDS_MeshElement.

virtual void SMDS_PolygonalFaceOfNodes.Print ( std::ostream &  OS  )  const [virtual]

Reimplemented from SMDS_MeshElement.

virtual const SMDS_MeshNode* SMDS_PolygonalFaceOfNodes.GetNode ( const int  ind  )  const [virtual]

Return node by its index.

Parameters:
ind - node index
Return values:
const SMDS_MeshNode* - the node

Reimplemented from SMDS_MeshElement.

virtual SMDS_ElemIteratorPtr SMDS_PolygonalFaceOfNodes.elementsIterator ( SMDSAbs_ElementType  type  )  const [protected, virtual]

Reimplemented from SMDS_MeshElement.

SMDS_ElemIteratorPtr SMDS_MeshElement.nodesIterator (  )  const [inherited]
SMDS_ElemIteratorPtr SMDS_MeshElement.edgesIterator (  )  const [inherited]
SMDS_ElemIteratorPtr SMDS_MeshElement.facesIterator (  )  const [inherited]
int SMDS_MeshElement.GetID (  )  const [inherited]

Referenced by TIDCompare.operator()(), TNode.operator<(), and SMESH_TLink.SMESH_TLink().

Here is the caller graph for this function:

virtual bool SMDS_MeshElement.IsQuadratic (  )  const [virtual, inherited]

Reimplemented in SMDS_QuadraticEdge, SMDS_QuadraticFaceOfNodes, and SMDS_QuadraticVolumeOfNodes.

Referenced by SMDS_MeshInfo.RemoveEdge().

Here is the caller graph for this function:

virtual bool SMDS_MeshElement.IsMediumNode ( const SMDS_MeshNode node  )  const [virtual, inherited]
const SMDS_MeshNode* SMDS_MeshElement.GetNodeWrap ( const int  ind  )  const [inherited]

Return node by its index.

Parameters:
ind - node index
Return values:
const SMDS_MeshNode* - the node

Index is wrapped if it is out of a valid range

Definition at line 92 of file SMDS_MeshElement.hxx.

virtual bool SMDS_MeshElement.IsValidIndex ( const int  ind  )  const [virtual, inherited]

Return true if index of node is valid (0 <= ind < NbNodes()).

Parameters:
ind - node index
Return values:
bool - index check result
int SMDS_MeshElement.WrappedIndex ( const int  ind  )  const [inherited]

Return a valid node index, fixing the given one if necessary.

Parameters:
ind - node index
Return values:
int - valid node index

Definition at line 106 of file SMDS_MeshElement.hxx.

int SMDS_MeshElement.GetNodeIndex ( const SMDS_MeshNode node  )  const [inherited]

Check if a node belongs to the element.

Parameters:
node - the node to check
Return values:
int - node index within the element, -1 if not found

Friends And Related Function Documentation

SMDS_EXPORT std::ostream& operator<< ( std::ostream &  OS,
const SMDS_MeshElement  
) [friend, inherited]
SMDS_EXPORT bool SMDS_MeshElementIDFactory::BindID ( int  ID,
SMDS_MeshElement elem 
) [friend, inherited]

Field Documentation

std::vector<const SMDS_MeshNode *> SMDS_PolygonalFaceOfNodes.myNodes [private]

Definition at line 69 of file SMDS_PolygonalFaceOfNodes.hxx.


Generated on 22 Oct 2012 for SALOME - SMESH by  doxygen 1.6.1