MED::TPolygoneInfo Struct Reference

Define a base class which represents MED Polygon entity. More...

#include <MED_Structures.hxx>

Public Member Functions

EConnectivite GetConnMode () const
 Let known in what connectivity the cells are written. More...
 
TConnSlice GetConnSlice (TInt theElemId)
 Gives connectivities for polygon by its number. More...
 
TCConnSlice GetConnSlice (TInt theElemId) const
 Gives connectivities for polygon by its number (const version) More...
 
EEntiteMaillage GetEntity () const
 Let known what MED ENTITY the MED Polygons belong to. More...
 
EGeometrieElement GetGeom () const
 Let known what MED geometrical type the MED Polygons belong to. More...
 
TInt GetNbConn (TInt theElemId) const
 Gives number of the connectivities for the defined polygon. More...
 
- Public Member Functions inherited from MED::TElemInfo
virtual std::string GetElemName (TInt theId) const =0
 Get name of the mesh element by its order number. More...
 
TInt GetElemNum (TInt theId) const
 Get a reference number of the mesh element by its order number. More...
 
TInt GetFamNum (TInt theId) const
 Get number of a MED FAMILY by order number of the mesh element. More...
 
const PMeshInfoGetMeshInfo () const
 Get a reference to corresponding MED Mesh. More...
 
TInt GetNbElem () const
 
EBooleen IsElemNames () const
 Let know if the mesh elements have names. More...
 
EBooleen IsElemNum () const
 Let know if the mesh elements are indexed. More...
 
EBooleen IsFamNum () const
 Let know if the mesh elements family are indexed. More...
 
virtual void SetElemName (TInt theId, const std::string &theValue)=0
 Set name of the mesh element by its order number. More...
 
void SetElemNum (TInt theId, TInt theVal)
 Set a reference number for the mesh element by its order number. More...
 
void SetFamNum (TInt theId, TInt theVal)
 Set number of a MED FAMILY for the mesh element with the order number. More...
 
- Public Member Functions inherited from MED::TBase
virtual ~TBase ()
 

Public Attributes

PElemNum myConn
 Table de connectivities. More...
 
EConnectivite myConnMode
 Defines connectivity mode. More...
 
EEntiteMaillage myEntity
 Defines the MED Entity where the polygons belongs to. More...
 
EGeometrieElement myGeom
 Defines the MED Geometric type of the instance. More...
 
PElemNum myIndex
 Table de indexes. More...
 
- Public Attributes inherited from MED::TElemInfo
PString myElemNames
 Contains sequence of the names for the mesh elements. More...
 
PElemNum myElemNum
 Contains sequence of the indexes for the mesh elements. More...
 
PElemNum myFamNum
 Get number of mesh elements. More...
 
EBooleen myIsElemNames
 Defines if the mesh elements are named. More...
 
EBooleen myIsElemNum
 Defines if the mesh elements are indexed. More...
 
EBooleen myIsFamNum
 Defines if the mesh elements family are indexed. More...
 
PMeshInfo myMeshInfo
 A reference to corresponding MED Mesh. More...
 
TInt myNbElem
 

Detailed Description

Define a base class which represents MED Polygon entity.

Member Function Documentation

◆ GetConnMode()

EConnectivite MED::TPolygoneInfo::GetConnMode ( ) const

Let known in what connectivity the cells are written.

◆ GetConnSlice() [1/2]

TConnSlice TPolygoneInfo::GetConnSlice ( TInt  theElemId)

Gives connectivities for polygon by its number.

References GetNbConn(), myConn, and myIndex.

◆ GetConnSlice() [2/2]

TCConnSlice TPolygoneInfo::GetConnSlice ( TInt  theElemId) const

Gives connectivities for polygon by its number (const version)

References GetNbConn(), myConn, and myIndex.

Referenced by MED::GetBaryCenter().

◆ GetEntity()

EEntiteMaillage MED::TPolygoneInfo::GetEntity ( ) const

Let known what MED ENTITY the MED Polygons belong to.

◆ GetGeom()

EGeometrieElement MED::TPolygoneInfo::GetGeom ( ) const

Let known what MED geometrical type the MED Polygons belong to.

References MED::ePOLYGONE.

◆ GetNbConn()

TInt TPolygoneInfo::GetNbConn ( TInt  theElemId) const

Gives number of the connectivities for the defined polygon.

References myIndex.

Referenced by MED::GetBaryCenter(), and GetConnSlice().

Member Data Documentation

◆ myConn

◆ myConnMode

◆ myEntity

EEntiteMaillage MED::TPolygoneInfo::myEntity

◆ myGeom

EGeometrieElement MED::TPolygoneInfo::myGeom

◆ myIndex


The documentation for this struct was generated from the following files: