CATMecModUseItf Interface CATIMmiUseDatumFactory

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIMmiUseDatumFactory

Interface to create datum features.
Role: A datum feature is a geometrical feature ( ) without geometrical specification. It is created with a topological object (a CATBody) which represents its result.

For a geometrical feature there is only one CATBody and a CATBody can only be associated with one geometrical feature. So do not use the same CATBody for two instances of datum.

This interface contains two methods which create the new geometrical element into the current set ( ). If the current set is not available, a new one can be created to insert the new feature.

This interface is implemented by the specification container ("CATPrtCont") of the 3D Shape that you can retrieve with


Method Index


o InstanciateDatum(CATBody*,CATIMmiMechanicalFeature*&)
Creates a datum feature.
o InstanciateDatum(CATBody*,CATLISTP(CATCell)*,CATListOfCATUnicodeString*,CATIMmiMechanicalFeature*&)
Creates a datum feature.

Methods


o InstanciateDatum
public virtual InstanciateDatum( iBody,
oDatumFeature)
Creates a datum feature.
Role:This method creates a datum feature with an automatic naming for the cells.
Parameters:
iBody
The CATBody to associate with the geometrical feature.
oDatumFeature
The new geometrical feature. Depending on the content of the CATBody, it can be:
  • a Point, a Line, a Circle, a Plane feature: The CATBody has only one domain
  • a GSMZeroDim,GSMMonoDim,GSMBiDim, Solid: The CATBody has several domains with the same dimension. Respectively 0,1, 2 and 3.
  • a GeometricalElement3D feature, otherwise
o InstanciateDatum
public virtual InstanciateDatum( iBody,
iGNUserCells,
iUserKeys,
oDatumFeature)
Creates a datum feature.
Parameters:
iBody
The CATBody to associate with the geometrical feature.
iGNUserCells
The list of followed cells (CATCell). A followed cell is
  • The faces of a solid,
  • The boundary edges and the faces of a shell,
  • The extremity vertices and the edges of a wire.
iUserKeys
The list of corresponding keys. (Only number keys are authorized).
oDatumFeature
The new geometrical feature. Depending on the content of the CATBody, it can be:
  • a GSMZeroDim,GSMMonoDim,GSMBiDim, Solid: The CATBody has several domains with the same dimension. Respectively 0,1, 2 and 3.
  • a GeometricalElement3D feature, otherwise

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.