All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

AnalysisMeshingModel Interface CATIMSHMesher

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

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


interface CATIMSHMesher

Interface representing the Mesher.
Role: The Mesher is the object which generates the mesh from all the mesh specifications stored within its associated Mesh Part, see CATIMSHMeshPart.

The object which implement CATIMSHMesher interface has the following late type: xxxxxx_mesher where xxxxxx is the late type of the corresponding Mesh Part.

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 BeforeUpdating(CATIMSHMeshPart*)
Perform cleaning operations before updating a Mesh Part.
o Check(CATIMSHMeshPart*,CATMSHListOfMeshPart*&)
Check the supports of the Mesh Part.
o CloseEdition()
Perform mesher-specific operations before exiting edition mode for a Mesh Part.
o IsATypeOf(CATIMSHMeshPart*,CATUnicodeString&)
Query the mesher about the type of the Mesh Part.
o Mesh(CATIMSHMeshPart*)
Build the mesh corresponding to the Mesh Part.

Methods


o BeforeUpdating
public virtual HRESULT BeforeUpdating(CATIMSHMeshPart* iMeshPart)= 0
Perform cleaning operations before updating a Mesh Part.
Role: This method is called before updating a Mesh Part and performs necessary cleaning operations.
Parameters:
iMeshPart
The Mesh Part.
Returns:
An HRESULT.
Legal values:
S_OK
Cleaning operations succesfull.
E_FAIL
Cleaning operations failed.
o Check
public virtual HRESULT Check(CATIMSHMeshPart* iMeshPart,
CATMSHListOfMeshPart*& oParentMeshParts)= 0
Check the supports of the Mesh Part.
Role: This method is called whenever a support is defined on its Mesh Part to check if it can be meshed.
It also retreives the parents Mesh Parts if any. A parent Mesh Parts is a Mesh Parts that should updated before the actual mesh. For example, in the case of a mesher connecting to geometric parts, the parents Mesh Parts are the one corresponding to these two parts.
Parameters:
iMeshPart
The Mesh Part to check.
oParentMeshParts
The list of parents Mesh Parts.
Returns:
An HRESULT.
Legal values:
S_OK
The support are valid and can be meshed.
E_FAIL
The support are not valid or the parent Mesh Parts can not be found.
o CloseEdition
public virtual HRESULT CloseEdition()= 0
Perform mesher-specific operations before exiting edition mode for a Mesh Part.
Role: This method is called before exiting edition mode for a Mesh Part and can be used to perform mesher-specific operations ( see CATIMSHMeshPart.CloseEdition ).
Parameters:
iMeshPart
The Mesh Part.
Returns:
An HRESULT.
Legal values:
S_OK
Operations succesfull.
E_FAIL
Operations failed.
o IsATypeOf
public virtual int IsATypeOf(CATIMSHMeshPart* iMeshPart,
const CATUnicodeString& iType)= 0
Query the mesher about the type of the Mesh Part.
Parameters:
iMeshPart
The Mesh Part to check.
iType
String representing the query made to the mesher.
Legal values:
"1D"
Is the mesher generating 1D finite elements?
"2D"
Is the mesher generating 2D finite elements?
"3D"
Is the mesher generating 3D finite elements?
"Connection"
Is the mesher generating connecting elements between meshes?
Returns:
The result of the query.
Legal values:
1
The answer is yes.
0
The answer is no.
o Mesh
public virtual HRESULT Mesh(CATIMSHMeshPart* iMeshPart)= 0
Build the mesh corresponding to the Mesh Part.
Role: This method is called to build the mesh from a Mesh Part according all local and global specifications.
The generated nodes and finite elements are created using the CATIMSHMesh interface and the corresponding links with geometry are created using the CATIMSHAssociativity interface.
Parameters:
iMeshPart
The Mesh Part to mesh.
Returns:
An HRESULT.
Legal values:
S_OK
The mesh have been succesfully generated.
E_FAIL
The mesh operation failed.

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

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