All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

AnalysisMeshingModel Interface CATIMSHConnectivity

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIMSHConnectivity
 

Usage: you can reimplement this interface by deriving the supplied CATMSHExtIConnectivity adapter class.


interface CATIMSHConnectivity

Interface representing a finite element connectivity.
Role: This interface provides all necessary informations about a finite element connectivity such as dimension, nodes number, edges and faces desciption, ...

Conventions used for method arguments:

BOA information: this interface CANNOT be implemented using the BOA (Basic Object Adapter). To know more about the BOA, refer to the CAA Encyclopedia home page. Click Middleware at the bottom left, then click the Object Modeler tab page. Several articles deal with the BOA.


Method Index


o CreateGeometricalEngine()
Creates an returns an new geometrical engine compatible with the connectivity.
o GetEdgeConnectivity(int)
Returns the connectivity corresponding to a face.
o GetEdgesOfFaces(int*&,int*&,int*&)
Retrieves the faces definition in term of edges.
o GetEdgesOfNodes(int*&,int*&)
Retrieves the edges connected to edges.
o GetEdgesPermutation()
Returns the edges permutation that should be applied in order to reverse the element.
o GetFaceConnectivity(int)
Returns the connectivity corresponding to a face.
o GetFacesOfEdges(int*&,int*&)
Retrieves the faces connected to edges.
o GetFacesOfNodes(int*&,int*&)
Retrieves the faces connected to edges.
o GetFacesPermutation()
Returns the faces permutation that should be applied in order to reverse the element.
o GetGeometricalEngine()
Returns the geometrical engine associated with the connectivity.
o GetInfos()
Returns general informations on the finite element connectivity (dimension and sizes).
o GetInteriorAngleOfEdges(double*&)
Returns the ideal interior angle for each edge.
o GetMainConnectivity()
Returns the connectivity with the same shape and main nodes
o GetName()
Returns the name of the connectivity.
o GetNodesOfEdges(int*&,int*&)
Retrieves the edges definition in terms of nodes.
o GetNodesOfFaces(int*&,int*&)
Retrieves the faces definition in term of nodes.
o GetNodesPermutation()
Returns the nodes permutation that should be applied in order to reverse the element.
o GetNumber()
Returns the finite element connectivity number.
o GetTypeOfNodes(int*&)
Retrieves the type of each nodes.
o Next()
Returns the next finite element connectivity.

Methods


o CreateGeometricalEngine
public virtual CATMSHGeometricalEngine * CreateGeometricalEngine()= 0
Creates an returns an new geometrical engine compatible with the connectivity.
o GetEdgeConnectivity
public virtual CATIMSHConnectivity * GetEdgeConnectivity(int iNumEdge= 0 )const = 0
Returns the connectivity corresponding to a face.
Parameters:
iNumEdge
Edge number.
Returns:
The connectivity of the edge.
o GetEdgesOfFaces
public virtual int GetEdgesOfFaces( const int*& oPtEdgesOfFaces,
const int*& oEdgesOfFaces,
const int*& oOrientOfEdges)const = 0
Retrieves the faces definition in term of edges.
The edges of faces should be ordered in sequence in order to define the positive orientation for faces. For a 3D connectivity all the faces should be outward oriented.
Parameters:
oPtEdgesOfFaces
Array containing for each face a backward pointer in oEdgesOfFaces and oOrientOfEdges arrays.
oEdgesOfFaces
Array containing the edges number of the faces.
oOrientOfEdges
Array containing the edges orientation of the faces.
Legal values:
0
The edge is used with its default orientation.
1
The edge is used with its reverse orientation.
Returns:
The number of faces in the connectivity.
o GetEdgesOfNodes
public virtual int GetEdgesOfNodes( const int*& oPtEdgesOfNodes,
const int*& oEdgesOfNodes)const = 0
Retrieves the edges connected to edges.
Parameters:
oPtEdgesOfNodes
Array containing for each node a backward pointer in oEdgesOfNodes array.
oEdgesOfNodes
Array containing the edges number connected to nodes.
Returns:
The number of nodes in the connectivity.
o GetEdgesPermutation
public virtual const int * GetEdgesPermutation()const = 0
Returns the edges permutation that should be applied in order to reverse the element.
o GetFaceConnectivity
public virtual CATIMSHConnectivity * GetFaceConnectivity(int iNumFace= 0 )const = 0
Returns the connectivity corresponding to a face.
Parameters:
iNumFace
Face number.
Returns:
The connectivity of the face.
o GetFacesOfEdges
public virtual int GetFacesOfEdges( const int*& oPtFacesOfEdges,
const int*& FacesOfEdges)const = 0
Retrieves the faces connected to edges.
Parameters:
oPtFacesOfEdges
Array containing for each edge a backward pointer in FacesOfEdges array.
FacesOfEdges
Array containing the faces number connected to edges.
Returns:
The number of edges in the connectivity.
o GetFacesOfNodes
public virtual int GetFacesOfNodes( const int*& oPtFacesOfNodes,
const int*& oFacesOfNodes)const = 0
Retrieves the faces connected to edges.
Parameters:
oPtFacesOfNodes
Array containing for each node a backward pointer in oFacesOfNodes array.
oFacesOfNodes
Array containing the faces number connected to nodes.
Returns:
The number of nodes in the connectivity.
o GetFacesPermutation
public virtual const int * GetFacesPermutation()const = 0
Returns the faces permutation that should be applied in order to reverse the element.
o GetGeometricalEngine
public virtual CATMSHGeometricalEngine * GetGeometricalEngine()const = 0
Returns the geometrical engine associated with the connectivity.
o GetInfos
public virtual const CATMSHConnecInfos * GetInfos()const = 0
Returns general informations on the finite element connectivity (dimension and sizes).
o GetInteriorAngleOfEdges
public virtual int GetInteriorAngleOfEdges( const double*& oAnglesOfEdges)const = 0
Returns the ideal interior angle for each edge.
Parameters:
oAnglesOfEdges
Array containing for each edge the ideal interior angle.
Returns:
The number of edges in the connectivity.
o GetMainConnectivity
public virtual const CATIMSHConnectivity * GetMainConnectivity()const =0
Returns the connectivity with the same shape and main nodes
Returns:
The main the connectivity.
o GetName
public virtual const char * GetName()const = 0
Returns the name of the connectivity.
o GetNodesOfEdges
public virtual int GetNodesOfEdges( const int*& oPtNodesOfEdges,
const int*& oNodesOfEdges)const = 0
Retrieves the edges definition in terms of nodes.
The nodes of edges should be ordered in sequence in order to define the positive orientation for edges.
Parameters:
oPtNodesOfEdges
Array containing for each edge a backward pointer in oNodesOfEdges array.
oNodesOfEdges
Array containing the nodes number of edges.
Returns:
The number of edges in the connectivity.
o GetNodesOfFaces
public virtual int GetNodesOfFaces( const int*& oPtNodesOfFaces,
const int*& oNodesOfFaces)const = 0
Retrieves the faces definition in term of nodes.
Nodes of a face should be ordered in a compatible way with the face connectivity (see GetFaceConnectivity method).
Parameters:
oPtNodesOfFaces
Array containing for each face a backward pointer in the oNodesOfFaces array.
oNodesOfFaces
Array containing the nodes number of the faces.
Returns:
The number of faces in the connectivity.
o GetNodesPermutation
public virtual const int * GetNodesPermutation()const = 0
Returns the nodes permutation that should be applied in order to reverse the element.
o GetNumber
public virtual int GetNumber()= 0
Returns the finite element connectivity number. Connectivities 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 creation of a new connectivity.
o GetTypeOfNodes
public virtual int GetTypeOfNodes( const int*& oTypeOfNodes)const = 0
Retrieves the type of each nodes.
Parameters:
oTypeOfNodes
Array containing for each node his type:.
Legal values:
0
Main node.
1
Intermediate node on edge.
2
Intermediate node on face.
3
Intermediate node in volume.
Returns:
The number of nodes in the connectivity.
o Next
public virtual const CATIMSHConnectivity * Next()const = 0
Returns the next finite element connectivity. This method should be used with the CATMSHConnectivityServices.GetFirstConnectivity method to scan all connectivities.

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

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