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
-
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
-
-
Get the external contour of the Areafill.
- Returns:
- the list of CATIDrwBreakElem defining this external contour.
- See also:
- CATIDrwBreakElem
- o GetInternalContour
-
-
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
-
-
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
-
-
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