All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SketcherInterfaces Interface CATI2DOffsetOperator

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---SketcherInterfaces.CATI2DOffset
        |
        +---CATI2DOffsetOperator
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATI2DOffsetOperator

The methods of this interface handle an offset use-edge operator (the offset reference element does not belong to the sketch).


Method Index


o GetInitGeometry(IID&,CATBaseUnknown**)
Retrieves the optional init geometry.
o GetOperMode(int*)
Retrieves the use-edge offset operation mode (project or intersect the external geometry to offset).
o GetPropagationType(int*)
Retrieves the propagation type.
o SetInitGeometry(CATBaseUnknown*)
Sets the optional init geometry.
o SetOperMode(int)
Sets the use-edge offset operation mode.
o SetPropagationType(int)
Sets the propagation type.

Methods


o GetInitGeometry
public virtual HRESULT GetInitGeometry( const IID& iIID,
CATBaseUnknown** oGeom) = 0
Retrieves the optional init geometry.
Parameters:
iIID
[in] The interface identifier for which a pointer is requested.
oGeom
[out] The address where the returned pointer to the interface is located.
Returns:
HRESULT
o GetOperMode
public virtual HRESULT GetOperMode(int* oMode) = 0
Retrieves the use-edge offset operation mode (project or intersect the external geometry to offset).
Parameters:
oMode
[out] The use-edge operation mode.
e.g.: OffsetModeType_Intersect
Returns:
HRESULT
o GetPropagationType
public virtual HRESULT GetPropagationType(int* oPropagType) = 0
Retrieves the propagation type.
Parameters:
oPropagType
[out] The propagation type.
e.g.: OffsetPropagType_Point
Returns:
HRESULT
o SetInitGeometry
public virtual HRESULT SetInitGeometry(CATBaseUnknown* iGeom) = 0
Sets the optional init geometry.
Parameters:
iGeom
[in] The init geometry.
Returns:
HRESULT
o SetOperMode
public virtual HRESULT SetOperMode(int iMode) = 0
Sets the use-edge offset operation mode.
Parameters:
iMode
[in] The use-edge operation mode.
e.g.: OffsetModeType_Project
Returns:
HRESULT
o SetPropagationType
public virtual HRESULT SetPropagationType(int iPropagType) = 0
Sets the propagation type.
Parameters:
iPropagType
[in] The relimitation type.
e.g.: OffsetPropagType_Tangent
Returns:
HRESULT

This object is included in the file: CATI2DOffsetOperator.h
If needed, your Imakefile.mk should include the module: CATSketcherInterfaces

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