All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDrwThread

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---DraftingInterfaces.CATIDrwCenterLine
        |
        +---CATIDrwThread
 

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


interface CATIDrwThread

Interface to manage thread type and representation.


Method Index


o GetThreadInfo(CATLISTP(CATMathCircleArc2D)&,int&,CATDftThreadTypeEnum&)
Get Thread information .
o GetThreadInfo(CATMathCircleArc2D*,int*,CATDftThreadTypeEnum*,int*)
Get Thread information.
o GetThreadableObject(CATBaseUnknown**)
Get Threadable object.
o SetThreadType(int,CATDftThreadTypeEnum)
Set the thread quadrant and the thread type.

Methods


o GetThreadInfo
public virtual void GetThreadInfo(CATLISTP(CATMathCircleArc2D)& oCircleArcList,
int& oQuadrant,
CATDftThreadTypeEnum& oType) const =0
Get Thread information .
Parameters:
oCircleArcList
Thread arc circle geometry.
List has only one element for now.
oQuadrant
Thread quadrant.
Value will be between 0 and 3.
oType
Thread type : Threaded or Taped.
o GetThreadInfo
public virtual HRESULT GetThreadInfo(CATMathCircleArc2D* oCircleArc,
int* oQuad,
CATDftThreadTypeEnum* oType,
int* oShowMode) =0
Get Thread information.
Parameters:
oCircleArc
Thread arc circle geometry.
oQuad
Thread quadrant.
Value will be between 0 and 3.
oType
Thread type : Threaded or Taped.
oShowMode
Thread arc circle linetype.
o GetThreadableObject
public virtual HRESULT GetThreadableObject(CATBaseUnknown** oThread) =0
Get Threadable object.
Parameters:
oThread
Threadable object in case
o SetThreadType
public virtual void SetThreadType( const int iQuadrant=0,
CATDftThreadTypeEnum iType=CATDftTaped) = 0
Set the thread quadrant and the thread type.
Parameters:
iQuadrant
Thread quadrant.
Value must be an integer between 0 and 3.
iType
Thread type : CATDftThreaded or CATDftTaped.

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

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