All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SketcherInterfaces Interface CATI2DDirection

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

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


interface CATI2DDirection

Interface for 2D direction edition.
Role: This interface describes the direction in 2D space. The methods provides edition of the direction's parameters, which fully describe it.


Method Index


o GetDirectionData(double*,double*)
Returns the informations that fully describes the direction.
o SetDirectionData(double*)
Defines the informations that fully describes the direction.

Methods


o GetDirectionData
public virtual HRESULT GetDirectionData(double* iPoint,
double* iDirection) = 0
Returns the informations that fully describes the direction.
Parameters:
double
*iPoint [out] The 2D origin point coordinates.
double
*iDirection [out] The 2D direction coordinates (normalized).
Returns:
HRESULT
o SetDirectionData
public virtual HRESULT SetDirectionData( const double* iDirection) = 0
Defines the informations that fully describes the direction.
Parameters:
const
double *iPoint [in] The 2D origin point coordinates.
const
double *iDirection [in] The 2D direction coordinates (will be normalized).
Returns:
HRESULT

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

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