All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SketcherInterfaces Interface CATI2DParabola

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

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


interface CATI2DParabola

2D Parabola Definition.
Role: This interface describes a parabola in 2D space. Its methods provide access to the parabola's parameters, which fully describe the parabola.


Method Index


o GetParabolaData(double*,double*,double*)
Returns the parabola's parameters.
o SetParabolaData(double*,double*,double)
Defines the parabola's parameters.

Methods


o GetParabolaData
public virtual HRESULT GetParabolaData(double* oPoint,
double* oAxis,
double* oFocalDistance) = 0
Returns the parabola's parameters.
Parameters:
oPoint
[out] The 2D center point coordinates.
oAxis
[out] The 2D axis direction coordinates.
oFocalDistance
[out] The focal distance of the parabola.
Returns:
HRESULT
o SetParabolaData
public virtual HRESULT SetParabolaData( const double* iPoint,
const double* iAxis,
double iFocalDistance) = 0
Defines the parabola's parameters.
Parameters:
iPoint
[in] The 2D center point coordinates.
iAxis
[in] The 2D axis direction coordinates.
iFocalDistance
[in] The focal distance of the parabola.
Returns:
HRESULT

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

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