All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SketcherInterfaces Interface CATI2DDatumCurve

System.IUnknown
  |
  +---CATI2DDatumCurve
 

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


interface CATI2DDatumCurve

Interface representing a Sketcher datum curve.

A CATI2DDatumCurve is a curve which geometry is a CATPSpline, a CATPNurbs or a CATPCurveEquation.
A CATI2DDatumCurve is created by the CreateUnspec method of the CATI2DWFFactory interface.


Method Index


o GetCurve(CATPCurve**)
Returns the CATPCurve of this datum curve.
o SetCurve(CATPCurve*)
Sets the geometric CATPCurve of this datum curve.

Methods


o GetCurve
public virtual HRESULT GetCurve(CATPCurve** opCurve) = 0
Returns the CATPCurve of this datum curve.
Parameters:
CATPCurve
**opCurve [out] The pointer to the geometry of this datum curve.
o SetCurve
public virtual HRESULT SetCurve(CATPCurve* ipCurve) = 0
Sets the geometric CATPCurve of this datum curve.
Parameters:
CATPCurve
*ipCurve [in] The pointer to the geometry of this datum curve. NOTE: These enable the Client to modify the geometry of a datum curve.

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

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