All Frameworks  Class Hierarchy  This Framework  Indexes   

DraftingInterfaces Interface 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 AddContour( iList)
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 GetExternalContour()
Get the external contour of the Areafill.
Returns:
the list of CATIDrwBreakElem defining this external contour.
See also:
CATIDrwBreakElem
o GetInternalContour
public virtual GetInternalContour( iIndex)
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 GetNumberOfInternalContour()
Get the number of internal contours of the Areafill.
Returns:
this number.
o GetPattern
public virtual GetPattern()
Get the pattern used for Areafill representation.
Returns:
the pattern reference.
See also:
CATIDftPattern, CATIDftHatchingPattern, CATIDftColoringPattern, CATIDftDottingPattern
o RemoveReference
public virtual RemoveReference( const iReference= NULL_var)
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 SetPattern( iPattern)
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.