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
public virtual HRESULT GetBody(CATBody** oBody) const = 0
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
public virtual HRESULT GetGeometryOfOrigin(CATLISTP(CATCell)** oListPtrCATCell) const = 0
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
public virtual HRESULT GetProduct( const IID& iIID,
IUnknown** oProduct) const = 0
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
public virtual HRESULT GetShowMode(DftGenShowMode& oShowMode) const = 0
Gets the mode of visualisation.
Parameters:
oShowMode
see above for definition of ShowMode
o GetTransformation
public virtual HRESULT GetTransformation(CATMathTransformation** oTransformation) const = 0
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 HRESULT GetUnderlyingGeometry(CATCurve** oCurve) const = 0
Gets the underlying 2D geometry.
Parameters:
oCurve
Don't forget to RELEASE the resulting curve after use
o IsCut
public virtual HRESULT IsCut(CATBoolean* oCutInfo) const = 0
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 HRESULT SetShowMode( const DftGenShowMode iShowMode) const = 0
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

Copyright © 2003, Dassault Systèmes. All rights reserved.