CATFreeStyleUseItf Interface CATIStSupportSelection

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


interface CATIStSupportSelection

Class for retrieving and selecting supports from an element selected.
If the selected element is n-Dimensionnal, the supports are (n+1)-Dimensionnal.


Method Index


o GetAllSupports(CATSO*&)
Returns all the possible supports for all the cells of the element
o GetCorrespondingSupports(CATCell*,CATSO*&)
Gets the supports corresponding to the input Cell

Methods


o GetAllSupports
public virtual GetAllSupports( oSetOfSupports)
Returns all the possible supports for all the cells of the element
Parameters:
oSetOfSupports
The set of supports (an AddRef is done on it) A Release() must be done by the calling. Ex : CATSO * AllSupports = NULL; if (SuppSelectionItf) { SuppSelectionItf->GetAllSupport(AllSupports); } if(AllSupports) { ... AllSupports->Release(); }
o GetCorrespondingSupports
public virtual GetCorrespondingSupports( iCellToAnalyse,
ioSetOfSupports)
Gets the supports corresponding to the input Cell
Parameters:
iCellToAnalyse
The cell which one what to know its supports
ioSetOfSupports
The set of supports for the iCellToAnalyse. If iCellToAnalyse has no support, the returned CATSO's size is null. If ioSetOfSupport is input as NULL a new SO is returned and must be Released by the calling as soon as it is no more needed.

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

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