All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SketcherInterfaces Interface CATI2DOffset

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

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


interface CATI2DOffset

The methods of this interface handle offset geometrical elements.


Method Index


o GetCornerType(int*)
Retrieves the relimitation type.
o GetOffsetParm(CATICkeParm**)
Retrieves the offset value as a literal.
o GetReferenceGeometry(IID&,CATBaseUnknown**)
Retrieves the reference geometry that is offseted.
o SetCornerType(int)
Sets the relimitation type.
o SetReferenceGeometry(CATBaseUnknown*)
Sets the reference geometry to offset.

Methods


o GetCornerType
public virtual HRESULT GetCornerType(int* oCornerType) = 0
Retrieves the relimitation type.
Parameters:
oCornerType
[out] The relimitation definition type.
e.g.: OffsetCornerType_Round
Returns:
HRESULT
o GetOffsetParm
public virtual HRESULT GetOffsetParm(CATICkeParm** oOffsetParm) = 0
Retrieves the offset value as a literal.
Parameters:
oOffsetParm
[out] The offset parameter.
Returns:
HRESULT
o GetReferenceGeometry
public virtual HRESULT GetReferenceGeometry( const IID& iIID,
CATBaseUnknown** oGeom) = 0
Retrieves the reference geometry that is offseted.
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 SetCornerType
public virtual HRESULT SetCornerType(int iCornerType) = 0
Sets the relimitation type.
Parameters:
iCornerType
[in] The relimitation definition type.
e.g.: OffsetCornerType_Sharp
Returns:
HRESULT
o SetReferenceGeometry
public virtual HRESULT SetReferenceGeometry(CATBaseUnknown* iGeom) = 0
Sets the reference geometry to offset.
Parameters:
iGeom
[in] The reference geometry.
Returns:
HRESULT

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

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