CATMecModExtendItf CATMf3DBehaviorAdapter

Usage: you can derive this class.


public class CATMf3DBehaviorAdapter

Adaptor class for CATIMf3DBehavior.
Role: This class enables you to implement the interface. Your implementation must derive from this class.


Constructor and Destructor Index


o CATMf3DBehaviorAdapter()
Constructor.
o ~CATMf3DBehaviorAdapter()
Destructor.

Method Index


o IsADatum()
Indicates whether a feature is a datum feature.
o IsAShape()
Indicates whether a feature is a surface feature.
o IsASolid()
Indicates whether a feature is a solid feature.
o IsAVolume()
Defines if the geometrical feature is a volume or not.

Constructor and Destructor


o CATMf3DBehaviorAdapter
public CATMf3DBehaviorAdapter()
Constructor.
o ~CATMf3DBehaviorAdapter
public virtual ~CATMf3DBehaviorAdapter()
Destructor.

Methods


o IsADatum
public virtual IsADatum()
Indicates whether a feature is a datum feature.
Role: Determines whether datum property (see above) applies to the feature. There no link between this property and the fact that the feature is a solid feature or a surface feature.
Returns:
Legal values:
S_OK
The feature is a datum feature.
E_FAIL
The feature is not a datum feature.
o IsAShape
public virtual IsAShape()
Indicates whether a feature is a surface feature.
Returns:
Legal values:
S_OK
The feature is a surface feature.
E_FAIL
The feature is not a surface feature.
o IsASolid
public virtual IsASolid()
Indicates whether a feature is a solid feature.
Returns:
Legal values:
S_OK
The feature is a solid feature.
E_FAIL
The feature is not a solid feature.
o IsAVolume
public virtual IsAVolume()
Defines if the geometrical feature is a volume or not.
This method is empty (not implemented), and returns E_FAIL. In your implementation, if your feature is a volume, the method returns S_OK, otherwise E_FAIL.

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

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