All Frameworks Class Hierarchy This Framework Previous Next Indexes
DraftingInterfaces Interface CATIDftGenGeomAccess
System.IUnknown
|
+---CATIDftGenGeomAccess
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIDftGenGeomAccess
Interface on the Generative View which allows to access generated Geometry
and to execute different query on it.
Method Index
- o
GetAllGeneratedItems(IID&,CATIUnknownList**)
- Returns all the generated geometry accordingly to the required interface.
- o
GetAllGeneratedShapes(IID&,CATIUnknownList**)
- Returns all the generated shapes accordingly to the required interface.
- o
GetGeneratedItemForm3DGeom(IID&,CATGeometry*,CATIProduct*,CATIUnknownList**)
- Returns a list of GenItem which have been generated from a particular geometry in a specified product.
- o
GetGeneratedItemForm3DGeomList(IID&,CATIUnknownList*,CATIUnknownList*,CATIUnknownList**)
- Returns a list of GenItem which have been generated from both several geometries.
Methods
o GetAllGeneratedItems
-
Returns all the generated geometry accordingly to the required interface.
- Parameters:
-
- const
- IID & iIID
[in] The IID of the required interface
- CATIUnknownList
- ** oList
[out] the list of returned pointers
Returns:
A HRESULT
- S_OK
- Some geometry has been found
- E_FAIL
- No geometry found which implements the interface iIID
o GetAllGeneratedShapes
-
Returns all the generated shapes accordingly to the required interface.
- Parameters:
-
- const
- IID & iIID
[in] The IID of the required interface
- CATIUnknownList
- ** oList
[out] the list of returned pointers
Returns:
A HRESULT
- S_OK
- Some Generative shapes has been found
- S_FALSE
- No generative shape has been found
- E_FAIL
- abnormal behavior
o GetGeneratedItemForm3DGeom
-
Returns a list of GenItem which have been generated from a particular geometry in a specified product.
- Parameters:
-
- iIID
- the IID of the returned interface
- iGeom
- the "coming from" geometry
- iProd
- the "coming from" product in the assembly. If NULL not considered. If not NULL, must have the same size that iGeom
- oList
- the list of GenItem.
- Returns:
- S_OK if found at least one GenItem. S_FALSE if not. E_FAIL if abnormal behavior. E_INVALIDARG if NULL iGeom.
o GetGeneratedItemForm3DGeomList
-
Returns a list of GenItem which have been generated from both several geometries.
- Parameters:
-
- iIID
- the IID of the returned interface
- iGeom
- the "coming from" list of geometries
- iProd
- the "coming from" list of products in the assembly corresponding to each geom. If NULL not considered.
- oList
- the list of GenItem.
- Returns:
- S_OK if found at least one GenItem. S_FALSE if not. E_FAIL if abnormal behavior. E_INVALIDARG if NULL or empty iGeom.
This object is included in the file: CATIDftGenGeomAccess.h
If needed, your Imakefile.mk should include the module: CATDraftingInterfaces