All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDrwAreaFill

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

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


interface CATIDrwAreaFill

Interface of the Areafill object.


Method Index


o AddContour(CATLISTV(CATISpecObject_var)&)
Define the internal contour of the Areafill.
o GetExternalContour()
Get the external contour of the Areafill.
o GetInternalContour(int)
Get an internal contour of the Areafill.
o GetNumberOfInternalContour()
Get the number of internal contours of the Areafill.
o GetPattern()
Get the pattern used for Areafill representation.
o RemoveReference(CATISpecObject_var&)
Remove the referenced objects from an areafill.
o SetPattern(CATISpecObject_var)
Set the pattern used for Areafill representation.

Methods


o AddContour
public virtual HRESULT AddContour(CATLISTV(CATISpecObject_var)& iList)=0
Define the internal contour of the Areafill.
Parameters:
iList
list of CATIBreakElem, intersecting them 2 by 2 and defining a closed contour. After defining all internal contours of the areafill, you have to run an event of modifcation. The external contour is defined by the factory of Areafill.
Returns:
An HRESULT value.
Legal values:
S_OK
contour addition succeeds.
E_XXX
Created CATIBreakElem must be removed.
See also:
CATIDrwBreakElem, CATIDrwAnnotationFactory
o GetExternalContour
public virtual CATLISTV(CATISpecObject_var) GetExternalContour()=0
Get the external contour of the Areafill.
Returns:
the list of CATIDrwBreakElem defining this external contour.
See also:
CATIDrwBreakElem
o GetInternalContour
public virtual CATLISTV(CATISpecObject_var) GetInternalContour(int iIndex)=0
Get an internal contour of the Areafill.
Parameters:
iIndex
number indicating the internal contour you get. This number respects the order of contour set by AddContour.
Returns:
the list of CATIDrwBreakElem defining this internal contour, with that index.
See also:
CATIDrwBreakElem
o GetNumberOfInternalContour
public virtual int GetNumberOfInternalContour()=0
Get the number of internal contours of the Areafill.
Returns:
this number.
o GetPattern
public virtual CATISpecObject_var GetPattern()=0
Get the pattern used for Areafill representation.
Returns:
the pattern reference.
See also:
CATIDftPattern, CATIDftHatchingPattern, CATIDftColoringPattern, CATIDftDottingPattern
o RemoveReference
public virtual void RemoveReference( const CATISpecObject_var& iReference= NULL_var) = 0
Remove the referenced objects from an areafill.
Parameters:
iReference
Reference object to remove.
This object must implement IDMLine2D
See also:
IDMLine2D
o SetPattern
public virtual void SetPattern(CATISpecObject_var iPattern)=0
Set the pattern used for Areafill representation.
Parameters:
iPattern
Pattern reference.
See also:
CATIDftPattern, CATIDftHatchingPattern, CATIDftColoringPattern, CATIDftDottingPattern

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

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