CATDraftingGenUseItf Interface 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**,CATBoolean)
- Gets the body of origin.
- o
GetFeature(IID&,IUnknown**,CATBoolean)
- Gets the feature associated.
- o
GetGeometryOfOrigin(CATLISTP(CATCell)**,CATBoolean)
- Gets the 3D geometry of origin.
- o
GetRepInstance(CATOmbObjectInContext**)
- Gets the representation instance 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
public virtual GetBody( | | oBody, |
| const | iLoadIfNecessary | = FALSE) |
-
Gets the body of origin.
- Parameters:
-
- oBody[out,
- CATBaseUnknown#Release] The "coming from" body in the part.
- iLoadIfNecessary
- TRUE : loads the pointed representation if it is not already loaded.
o GetFeature
public virtual GetFeature( | const | iIID, |
| | oFeature, |
| const | iLoadIfNecessary | = FALSE) |
-
Gets the feature associated.
- Parameters:
-
- iIID
- the IID of the returned interface
- oFeature
- the feature
- iLoadIfNecessary
- TRUE : loads the pointed representation if it is not already loaded.
o GetGeometryOfOrigin
public virtual GetGeometryOfOrigin( | | oListPtrCATCell, |
| const | iLoadIfNecessary | = FALSE) |
-
Gets the 3D geometry of origin.
- Parameters:
-
- oListPtrCATCell
- List of pointers on CATCells.
After use, it must be DELETED and each cell RELEASED.
- iLoadIfNecessary
- TRUE : loads the pointed representation if it is not already loaded.
o GetRepInstance
public virtual GetRepInstance( | | oRepInstance) |
-
Gets the representation instance of origin.
- Parameters:
-
- oRepInstance
- [out, CATBaseUnknown#Release] the "coming from" representation instance in the assembly.
o GetShowMode
public virtual GetShowMode( | | oShowMode) |
-
Gets the mode of visualisation.
- Parameters:
-
- oShowMode
- see above for definition of ShowMode
o GetTransformation
public virtual GetTransformation( | | oTransformation) |
-
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
public virtual GetUnderlyingGeometry( | | oCurve) |
-
Gets the underlying 2D geometry.
- Parameters:
-
- oCurve[out,
- CATBaseUnknown#Release]
o IsCut
public virtual IsCut( | | oCutInfo) |
-
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
public virtual SetShowMode( | const | iShowMode) |
-
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: CATDraftingGenUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.