All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MecModInterfaces Interface CATIMf3DBehavior2

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

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


interface CATIMf3DBehavior2

Interface extending CATIMf3DBehavior.

Role: The CATIMf3DBehavior interface introduced the two categories of geometrical features which are solid features and surface features. CATIMf3DBehavior2 introduces a sub-category of surface features which is the category of volume features.

The volume features behave, in terms of mechanical modeler functionnalities (insertion, deletion, reordering, display, ...), as the surface features. The main differences between volumes and surface are the associated topological body which topological dimension is 3 (considering only this aspect, volume features are similar to solid features), the geometric operations that can be applied to and the associated visual representations (icons, 3D reps).

Implementation: A default implementation exists for GeometricalElement3D startup, for which the method IsAVolume returns E_FAIL. For every startup deriving from GeometricalElement3D being a surface feature and generating volume topology, it is essential to reimplement this interface.

BOA information: this interface CAN 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 IsAVolume()
Tells whether the feature is a volume feature.

Methods


o IsAVolume
public virtual HRESULT IsAVolume()const = 0
Tells whether the feature is a volume feature.
Role: Tells whether the feature is a volume feature. A volume feature is a sub-kind of surface feature and therefore if the method IsAVolume returns S_OK, the method CATIMf3DBehavior.IsAShape invoked on the same feature must also return S_OK.
Returns:
Legal values:
S_OK
The feature is a volume feature.
E_FAIL
The feature is not a volume feature. It can nevertheless be a surface feature.

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

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