All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SketcherInterfaces Interface CATI2DCircle

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---SketcherInterfaces.IDMCircle2D
        |
        +---CATI2DCircle
 

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


interface CATI2DCircle

2D Circle definition.
Role: This interface is used to access to 2D Circle parameters.


Method Index


o GetCenter(int)
o GetEndAngle(double*)
o GetStartAngle(double*)
o Set3PointsArc(double*,double*,double*,int)
o SetCenter(CATI2DPoint_var&)
o SetCircleData(double*,double)
Defines the circle's parameters.
o SetCorner(CATI2DCurve*,CATI2DCurve*,double*,double*)
o SetTangentArc(double*,double*,double*,int)

Methods


o GetCenter
public virtual CATI2DPoint_var GetCenter(int iGenerate=1) = 0
o GetEndAngle
public virtual HRESULT GetEndAngle(double* oEndAngle) = 0
o GetStartAngle
public virtual HRESULT GetStartAngle(double* oStartAngle) = 0
o Set3PointsArc
public virtual HRESULT Set3PointsArc( const double* iPt1,
const double* iPt2,
const double* iPt3,
int iTrim=1) = 0
o SetCenter
public virtual CATI2DConstraint_var SetCenter( const CATI2DPoint_var& iPoint) = 0
o SetCircleData
public virtual HRESULT SetCircleData( const double* iPoint,
double iRadius) = 0
Defines the circle's parameters.
Parameters:
iPoint
[out] The new 2D center point coordinates.
iRadius
[out] The new radius.
Returns:
HRESULT
o SetCorner
public virtual HRESULT SetCorner( const CATI2DCurve* iCurve1,
const CATI2DCurve* iCurve2,
const double* iPoint,
const double* iRadius=NULL) = 0
o SetTangentArc
public virtual HRESULT SetTangentArc( const double* iPt1,
const double* iTg1,
const double* iPt2,
int iTrim=1) = 0

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

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