CATDraftingGenUseItf Interface CATIDrwGenDrawShape
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIDrwGenDrawShape
Interface to manage a drawing generated shape.
Role: A generated shape is a shape created in generative section view.
Method Index
- o
GetDescription(int&,CATListOfInt&,CATListPtrCATMathPoint2D&)
- Returns the charateristics of the generated shape.
- o
GetPattern(CATIDftPattern**)
- Returns the Pattern associated to the generated shape.
Methods
o GetDescription
public virtual GetDescription( | | oNbContour, |
| | oListOfNbPtPerContour, |
| | oListOfPoints) |
-
Returns the charateristics of the generated shape.
Role: Returns the geometrical characteristics of contour(s) composing the generated shape.
- Parameters:
-
- oNbContour
- Number of contours.
- oListOfNbPtPerContour
- List of number of points for each contour.
- oListOfPoints
- List of coordinates of points.
- Returns:
- HRESULT
- S_OK
- At least one contour was found
- E_FAIL
- No contour found.
o GetPattern
public virtual GetPattern( | | oPattern) |
-
Returns the Pattern associated to the generated shape.
Role: Gets the Pattern associated to the generated shape.
Postcondition: Don't forget to RELEASE the resulting oPattern after use.
- Parameters:
-
- oPattern
- oPattern.
- Returns:
- HRESULT
- S_OK
- A pattern has been found
- E_FAIL
- No pattern found.
This object is included in the file: CATIDrwGenDrawShape.h
If needed, your Imakefile.mk should include the module: CATDraftingGenUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.