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
-
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
-
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
-
Retrieves the inertia directions of the current feature.
- Parameters:
-
- oDirection1
- First inertia direction.
- oDirection2
- Second inertia direction.
- oDirection3
- Third inertia direction.
o GetCharacteristicPoints
-
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