All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MecModInterfaces Interface CATIGeometricalElement

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

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


interface CATIGeometricalElement

Interface to manage a geometrical feature.
Role: A geometrical feature is a mechanical feature with a topological result (a CATBody). It can be included into a Geometrical Set, an Ordered Geometrical Set or a Body feature. The CATBody can be assigned to the feature:


Method Index


o GetBRepFeatures(CATClassId)
Returns the list of BRep features that involve the current feature.
o GetBodyResult()
Returns the result topological body associated with the current feature.
o GetCharacteristicDirections(CATMathDirection&,CATMathDirection&,CATMathDirection&)
Retrieves the inertia directions of the current feature.
o GetCharacteristicPoints(CATMathPoint&,CATMathPoint&,CATMathPoint&)
Retrieves the bounding box center of gravity and the bounding box extremities.

Methods


o GetBRepFeatures
public virtual CATLISTV(CATISpecObject_var) GetBRepFeatures(CATClassId interfaceName= 0) = 0
Returns the list of BRep features that involve the current feature.
Role:This method returns all the BRep features ( CATIFeaturize ) that involve the geometrical feature.
Parameters:
interfaceName
The interface name used to filter the type of the BRep features. The available interfaces are for example:
CATIMfFsur , CATIMfRsur , CATIMfFedge ...
o GetBodyResult
public virtual CATBody_var GetBodyResult()= 0
Returns the result topological body associated with the current feature.
Returns:
Depending on the geometrical feature type, the returned CATBody has been associated with the feature thanks to: To know more about the result of a geometrical feature, refer to the CAA Encyclopedia home page. Click MechanicalModeler at the middle, and read the "Specification/Result Mechanism Applied to Mechanical Features" article.
o GetCharacteristicDirections
public virtual void GetCharacteristicDirections(CATMathDirection& oDirection1,
CATMathDirection& oDirection2,
CATMathDirection& oDirection3)= 0
Retrieves the inertia directions of the current feature.
Parameters:
oDirection1
First inertia direction.
oDirection2
Second inertia direction.
oDirection3
Third inertia direction.
o GetCharacteristicPoints
public virtual void GetCharacteristicPoints(CATMathPoint& oBoundingBoxGravityCenter,
CATMathPoint& oLowerPoint,
CATMathPoint& oHigherPoint) = 0
Retrieves the bounding box center of gravity and the bounding box extremities.
Role:This method enables to know the bounding box of the geometrical feature. You retrieve the same information in using the CATGeometry.GetBoundingBox method applied to the CATBody returned by the previous GetBodyResult method.
The bounding box contents the geometrical feature, but can be greater.
Parameters:
oBoundingBoxGravityCenter
The bounding box center of gravity.
oLowerPoint
Lower extremity of the bounding box.
oHigherPoint
Higher extremity of the bounding box.

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

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