All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

AnalysisMeshingModel Class CATMSHElement

CATMSHElement
 

Usage: you must use this class as is. You should never derive it.


public class CATMSHElement

Object representing a finite element.

See also:
CATIMSHMesh, CATMSHNode


Method Index


o GetConnectivity()
Returns the element's connectivity.
o GetLinkedNodes()
Returns a pointer on the list of element's nodes.
o GetMesh()
Returns the Mesh which contains the element.
o GetMeshDomain()
Returns the Mesh Domain which contains the element.
o GetNodesCoordinates(double*)
Retreives all nodes coordinates.
o GetNumber()
Returns the element number.
o GetNumberOfLinkedNodes()
Returns the number of linked nodes.
o GetTag()
Returns the integer tag associated to the element.
o GetVisuAttribute()
Returns graphic attribute for the finite element.
o IsActive()
Returns the element activity.
o IsDeleted()
Check if the finite element is deleted.
o Next()
Returns the next element in the Mesh.
o Previous()
Returns the previous element in the Mesh.

Methods


o GetConnectivity
public inline CATIMSHConnectivity * GetConnectivity()const
Returns the element's connectivity.
Lifecycle rules deviation: No AddRef is done on returned value.
o GetLinkedNodes
public virtual inline CATMSHNode * const * GetLinkedNodes()const = 0
Returns a pointer on the list of element's nodes.
o GetMesh
public CATIMSHMesh * GetMesh()const
Returns the Mesh which contains the element.
Returns:
CATBaseUnknown#Release
o GetMeshDomain
public inline CATMSHMeshDomain * GetMeshDomain()const
Returns the Mesh Domain which contains the element.
o GetNodesCoordinates
public int GetNodesCoordinates(double* ioCoordinates)const
Retreives all nodes coordinates.
Parameters:
ioCoordinates
Array containing the nodes coordinates in the following order: X1, Y1, Z1, X2, Y2, Z2, ...
Returns:
The number of element's nodes.
o GetNumber
public int GetNumber()
Returns the element number. Elements are numbered between 0 and the total number of elements minus one. Take care of the fact that this number is not stable upon modifications, for example in case of element deletion.
o GetNumberOfLinkedNodes
public inline int GetNumberOfLinkedNodes()const
Returns the number of linked nodes.
o GetTag
public inline unsigned int GetTag()const
Returns the integer tag associated to the element.
o GetVisuAttribute
public const CATMSHElementVisuAttribute * GetVisuAttribute()const
Returns graphic attribute for the finite element.
o IsActive
public short IsActive()
Returns the element activity. An element in considered as active if it belong to an active Mesh Part. Otherwise the element is inactive. See CATIMSHMeshPart.
o IsDeleted
public inline int IsDeleted()const
Check if the finite element is deleted. Returns 1 the element is deleted, 0 otherwise.
o Next
public inline CATMSHElement * Next()const
Returns the next element in the Mesh. This method should be used with the CATIMSHMesh.GetFirstElement method to scan all elements.
o Previous
public inline CATMSHElement * Previous()const
Returns the previous element in the Mesh.

This object is included in the file: CATMSHElement.h
If needed, your Imakefile.mk should include the module: CATAmtModel

Copyright © 2003, Dassault Systèmes. All rights reserved.