All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SketcherInterfaces Interface IDMEllipse2D

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

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


interface IDMEllipse2D

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


Method Index


o GetEllipseData(double*,double*,double*)
Returns the ellipse's parameters.

Methods


o GetEllipseData
public virtual HRESULT GetEllipseData(double* pCenterPoint,
double* pMajorAxis,
double* pMinorMajorRatio) = 0
Returns the ellipse's parameters.
Parameters:
double
*pCenterPoint [out] Outputs the centre point of the ellipse.
double
*pMajorAxis [out] Outputs the ellipse orientation as a 2D vector. The length of the vector is the major radius.
double
*pMinorMajorRatio [out] Outputs the ratio of the length of the minor axis over the major axis.

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

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