CATMecModUseItf Interface CATIMmiUseGeometricalElement
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIMmiUseGeometricalElement
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(CATListValCATIMmiUseMfBRep_var&)
- Returns the list of BRep features that involve the current feature.
- o
GetBodyResult(CATBody_var&)
- Returns the result topological body associated with the current feature.
- o
GetGeomCharacteristicDirections(CATMathDirection&,CATMathDirection&,CATMathDirection&)
- Retrieves the inertia directions of the current feature.
- o
GetGeomCharacteristicPoints(CATMathPoint&,CATMathPoint&,CATMathPoint&)
- Retrieves the bounding box center of gravity and the bounding box extremities.
Methods
o GetBRepFeatures
public virtual GetBRepFeatures( | | oList) |
-
Returns the list of BRep features that involve the current feature.
Role:This method returns all the BRep features (
) that involve the geometrical feature.
- Parameters:
-
- oList
- [out] The list of BRepFeatures.
- Returns:
- S_OK if OK, E_FAIL otherwise
o GetBodyResult
public virtual GetBodyResult( | | oBody) |
-
Returns the result topological body associated with the current feature.
- Parameters:
-
- oBody
- [out] Depending on the geometrical feature type, the returned CATBody has been
associated with the feature thanks to:
for a datum feature - see
-
-
for a form feature - see CATIShapeFeatureProperties
-
otherwise
To know more about the result of a geometrical feature, refer to the CAA Encyclopedia home page.
- Returns:
- S_OK if OK, E_FAIL otherwise
o GetGeomCharacteristicDirections
public virtual GetGeomCharacteristicDirections( | | oDirection1, |
| | oDirection2, |
| | oDirection3) |
-
Retrieves the inertia directions of the current feature.
- Parameters:
-
- oDirection1
- [out] First inertia direction.
- oDirection2
- [out] Second inertia direction.
- oDirection3
- [out] Third inertia direction.
- Returns:
- S_OK if OK, E_FAIL otherwise
o GetGeomCharacteristicPoints
public virtual GetGeomCharacteristicPoints( | | oBoundingBoxGravityCenter, |
| | oLowerPoint, |
| | oHigherPoint) |
-
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
method applied to the CATBody returned by the previous
method.
The bounding box contents the geometrical feature, but can be greater.
- Parameters:
-
- oBoundingBoxGravityCenter
- [out] The bounding box center of gravity.
- oLowerPoint
- [out] Lower extremity of the bounding box.
- oHigherPoint
- [out] Higher extremity of the bounding box.
- Returns:
- S_OK if OK, E_FAIL otherwise
This object is included in the file: CATIMmiUseGeometricalElement.h
If needed, your Imakefile.mk should include the module: CATMecModUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.