All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---CATIMf3DBehavior
Usage: you can freely reimplement this interface.
interface CATIMf3DBehavior
Interface characterizing the mechanical modeler behaviors of geometrical features.
Role: The geometrical features (i.e. the features derivating of
GeometricalElement3D startup) can be distinguished by the topological
dimension of their associated topology but, according to mechanical modeler,
the differences between behaviors are not directly based on this topological
dimension criterion. They are two categories, defining the way features are
managed by generic commands (insertion, deletion, copy, ...), which are:
Geometric features generating volume topology (see
CATLump and
CATVolume ).
Located only in solid sets and solid and surface sets.
Inserted in the specification tree using specific process (see
CATIPrtProceduralView ).
Implicit link to the preceding feature in the specification tree, modifying and hidding it.
The surface feature category contains a sub-category, the volume features, which is a restriction to features generating volume topology (see CATIMf3DBehavior2 ).
A feature can not belong to both categories. Therefore the methods IsASolid and IsAShape must return different results.
Beyond these two categories, there's another category, not exclusive of the two preceding one, which is the category of datum features (see IsADatum method). The datum property applies to features without any link to other features, except internal or external references, affected by the "not up-to-date" mechanism. In other words datum features are not specification features but only copies, static or dynamic, of others geometrical features.
The behavior of a feature may not be fixed by its late type. For instance, a same geometric feature (startup) may be used for both solid or surface designs and therefore the methods of this interface must return variable results depending on the using context of the feature instance.
Implementation: For every startup deriving from GeometricalElement3D, it is essential to reimplement this interface to avoid hazardous behaviors.
public virtual HRESULT IsADatum( | )const = 0 |
public virtual HRESULT IsAShape( | )const = 0 |
public virtual HRESULT IsASolid( | )const = 0 |
Copyright © 2003, Dassault Systèmes. All rights reserved.