All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

Silhouettes (Collection)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---Collection
          |
          +---Silhouettes
 


Interface to compute Silhouettes.

Method Index

Add
Creates a new Silhouette and adds it to the Silhouettes collection.
CleanUp
Performs some clean-up.
ComputeASilhouette
Computes a silhouette on the selected products.
ComputeASilhouetteWithAReference
Computes a silhouette on the selected products, according to a reference product.
SilhouetteShapeName
Returns the name of the associated shape.

Methods


o Func Add(CATIAProduct iProductToSilhouette,
double iAccuracy,
CATSafeArrayVariant iAzimuts,
CATBSTR iShapeName,
long iActivatedShape,
long iDefaultShape) As CATIASilhouette
Creates a new Silhouette and adds it to the Silhouettes collection. This function is deprecated.
Returns:
The created Silhouette
Example:
The following example creates a Silhouette newSilhouette in the Silhouette collection.
 Set newSilhouette = Silhouettes.Add
 
o Sub CleanUp()
Performs some clean-up.
o Func ComputeASilhouette(CATIAGroup GroupOfSelectedProducts,
CATSafeArrayVariant iViewPoints,
double iAccuracy,
double iAccuracyForSimplification) As CATIADocument
Computes a silhouette on the selected products.
Parameters:
GroupOfSelectedProducts
The selected products on which you want to perform the silhouette.
iViewPoints
Array containing the viewpoints (cameras) used to perform the silhouette.
iAccuracy
Grain value for the voxels.
iAccuracyForSimplification
Accuracy for simplification of the silhouette. Let it null for no simplification.
Returns:
SilhouetteDocument: Document containing the result.
o Func ComputeASilhouetteWithAReference(CATIAGroup iGroupOfSelectedProducts,
CATIAProduct iReferenceProduct,
CATSafeArrayVariant iViewPoints,
double iAccuracy,
double iAccuracyForSimplification) As CATIADocument
Computes a silhouette on the selected products, according to a reference product.
Parameters:
iGroupOfSelectedProducts
The selected products on which you want to perform the silhouette.
iReferenceProduct
Product taken as a reference.
iViewPoints
Array containing the viewpoints (cameras) used to perform the silhouette.
iAccuracy
Grain value for the voxels.
iAccuracyForSimplification
Accuracy for simplification of the silhouette. Let it null for no simplification.
Returns:
SilhouetteDocument: Document containing the result.
o Func SilhouetteShapeName() As CATBSTR
Returns the name of the associated shape.

Copyright © 2003, Dassault Systèmes. All rights reserved.