All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SketcherInterfaces Interface CATI2DWFGeometry

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

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


interface CATI2DWFGeometry

Interface of 2D Geometry for sketch elements.
Role: This interface is used to determine geometric elements that belongs to a sketch.


Method Index


o GetFamily(CATListValCATI2DWFGeometry_var&)
Returns the family of the geometric element.
o WasCreated(CATBoolean*)
To known if the geometry was created during the current sketch edition.
o WasModified(CATBoolean*)
To known if the geometry was modified or created during the current sketch edition.

Methods


o GetFamily
public virtual HRESULT GetFamily(CATListValCATI2DWFGeometry_var& oGeoms) = 0
Returns the family of the geometric element.
Parameters:
CATLISTV(CATI2DWFGeometry_var)
oGeoms [out] The list of handlers corresponding to the expected family. The method does not reset the list before adding entities.
Returns:
HRESULT
o WasCreated
public virtual HRESULT WasCreated(CATBoolean* oStatus) const = 0
To known if the geometry was created during the current sketch edition. The request must be done during the sketch edition (before the sketch edition is closed). Outside the sketch edition, the method will return E_FAIL.
Parameters:
CATBoolean
*oStatus [out] TRUE if the geometry was created.
Returns:
HRESULT
o WasModified
public virtual HRESULT WasModified(CATBoolean* oStatus) const = 0
To known if the geometry was modified or created during the current sketch edition. The request must be done during the sketch edition (before the sketch edition is closed). Outside the sketch edition, the method will return E_FAIL.
Parameters:
CATBoolean
*oStatus [out] TRUE if the geometry was modified or created.
Returns:
HRESULT

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

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