All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SketcherInterfaces Interface IDMLine2D

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

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


interface IDMLine2D

OLE for Design and Modeling 2D Line Definition.
Role: This interface describes the line in 2D space. The single method provides access to the line's parameters, which fully describe the line.


Method Index


o GetLineData(double*,double*)
Returns the information that fully describe the infinite line

Methods


o GetLineData
public virtual HRESULT GetLineData(double* pRootPoint,
double* pDirection) = 0
Returns the information that fully describe the infinite line
Parameters:
double
*pRootPoint [out] Outputs a point lying on the line.
double
*pDirection [out] Outputs the unit vector pointing in the direction of the line.

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

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