DraftingUseItf Interface CATIDftBaseDressUpFactory

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


interface CATIDftBaseDressUpFactory

Interface factory to create area fills and pictures.
Role: Use this interface to create area fills and pictures in the object which implements this interface (i.e. views, 2D component references, ...). Note: The creation of those features are linked to available authoring license.


Method Index


o CreateAreaFill(CATLISTP(CATMathPoint2D)&,CATIDftAreaFill**)
Creates an isolated area fill.
o CreateAreaFill(CATLISTV(CATISktUse2DCurve_var)&,CATListOfDouble&,CATListOfDouble&,CATListOfInt&,CATIDftAreaFill**)
Creates an area fill associated to geometry.
o CreatePicture(CATPixelImage*,double&,double&,CATIDrwPicture**)
Creates a picture.
o CreatePicture(CATVectorImage*,double&,double&,CATIDrwPicture**)
Creates a picture.

Methods


o CreateAreaFill
public virtual CreateAreaFill( iPointList,
oAreaFill)
Creates an isolated area fill.
Parameters:
iPointList
[in] List of points of external contour
oAreaFill
[out, CATBaseUnknown#Release] Created area fill
Returns:
S_OK
if the areafill is created.
E_FAIL
if the operation failed.
o CreateAreaFill
public virtual CreateAreaFill( iGeomList,
const iStartParamList,
const iEndParamList,
const iNbCurvesPerOutline,
oAreaFill)
Creates an area fill associated to geometry.
Parameters:
iGeomList
[in] Geometrical supports. Geometries order must define a closed contour. It contains the curves of all outlines. First outline curves definition must be the extern one.
iStartParamList
[in] List of start parameters on geometrical supports.
iEndParamList
[in] List of end parameters on geometrical supports.
iNbCurvesPerOutline
[in] Contains the number of curves of each outline.
oAreaFill
[out, CATBaseUnknown#Release] Created area fill
Returns:
S_OK
if the areafill is created.
E_FAIL
if the operation failed.
o CreatePicture
public virtual CreatePicture( iPixelImage,
const iXPos,
const iYPos,
oPicture)
Creates a picture.
Parameters:
iPixelImage
[in] The pixel image on which the picture is based.
iXPos
[in] X coordinate of bottom left corner.
iYPos
[in] Y coordinate of bottom left corner.
oPicture
[out, CATBaseUnknown#Release] Pointer on the created picture.
Returns:
S_OK
if the operation succeeded.
E_FAIL
if the operation failed.
o CreatePicture
public virtual CreatePicture( iVectorImage,
const iXPos,
const iYPos,
oPicture)
Creates a picture.
Parameters:
iVectorImage
[in] The vector image on which the picture is based.
iXPos
[in] X coordinate of bottom left corner.
iYPos
[in] Y coordinate of bottom left corner.
oPicture
[out, CATBaseUnknown#Release] Pointer on the created picture.
Returns:
S_OK
if the operation succeeded.
E_FAIL
if the operation failed.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.