All Frameworks Class Hierarchy This Framework Previous Next Indexes
DraftingInterfaces Interface CATIDftGenGeom
System.IUnknown
|
+---CATIDftGenGeom
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIDftGenGeom
Interface to manage generated geometry in a generative View.
Method Index
- o
GetBody(CATBody**)
- Gets the body of origin.
- o
GetGeometryOfOrigin(CATLISTP(CATCell)**)
- Gets the 3D geometry of origin.
- o
GetProduct(IID&,IUnknown**)
- Gets the product of origin.
- o
GetShowMode(DftGenShowMode&)
- Gets the mode of visualisation.
- o
GetTransformation(CATMathTransformation**)
- Gets the transformation of the generated geometry.
- o
GetUnderlyingGeometry(CATCurve**)
- Gets the underlying 2D geometry.
- o
IsCut(CATBoolean*)
- Used to know if the generated geometry is cut by the section plane.
- o
SetShowMode(DftGenShowMode)
- Sets the mode of visualisation.
Methods
o GetBody
-
Gets the body of origin.
- Parameters:
-
- oBody
- The "coming from" body in the part.
Don't forget to RELEASE the resulting body after use.
o GetGeometryOfOrigin
-
Gets the 3D geometry of origin.
- Parameters:
-
- oListPtrCATCell
- List of pointers on CATCells.
After use, it must be DELETED and each cell RELEASED.
o GetProduct
-
Gets the product of origin.
- Parameters:
-
- iIID
- the IID of the returned interface
- oProduct
- the "coming from" product in the assembly.
Don't forget to RELEASE the resulting product after use.
o GetShowMode
-
Gets the mode of visualisation.
- Parameters:
-
- oShowMode
- see above for definition of ShowMode
o GetTransformation
-
Gets the transformation of the generated geometry.
It takes into account all the 3D transformations from the original geometry
to the resulting geometry.
- Parameters:
-
- oTransformation
- Mathematical transformation made up of translations and rotations.
After use, it must be DELETED.
o GetUnderlyingGeometry
-
Gets the underlying 2D geometry.
- Parameters:
-
- oCurve
- Don't forget to RELEASE the resulting curve after use
o IsCut
-
Used to know if the generated geometry is cut by the section plane.
- Parameters:
-
- oCutInfo
-
TRUE = The genItem is cut by the section plane
FALSE = The genItem is not cut by the section plane
- Returns:
-
- S_OK
- if the operation succeeded,
- E_INVALIDARG
- if argument pointer NULL,
- E_FAIL
- if an unspecified failure occurred.
o SetShowMode
-
Sets the mode of visualisation.
- Parameters:
-
- iShowMode
- see above for definition of ShowMode
This object is included in the file: CATIDftGenGeom.h
If needed, your Imakefile.mk should include the module: CATDraftingInterfaces