All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

SweptVolumes (Collection)

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


Interface to compute swept volumes.

Method Index

Add
Creates a new SweptVolume and adds it to the SweptVolumes collection.
AddFromSweptAble
Creates a new SweptVolume and adds it to the SweptVolumes collection.
CleanUp
Cleans up.
ComputeASweptVolume
Computes a swept volume.
ComputeASweptVolumeFromReplay
Computes a swept volume.
ComputeASweptVolumeFromSweptable
Computes a swept volume.
ComputeSweptVolumes
Computes a swept volume, from a replay or a track.
ComputeSweptVolumesFromReplay
Computes a swept volume from a replay.
ComputeSweptVolumesFromSweptable
Computes a swept volume from a track.
SetSilhouette
Adds the possibility to make a silhouette before the swept volume
SetSpatialSplit
Adds the possibility to parallelize swept&wrapping after a spatial split.

Methods


o Func Add(CATIAReplay replay,
CATSafeArrayVariant iProductsToSwept,
CATIAProduct iProductReference,
long iLODMode,
double iAccuracy,
CATBSTR iShapeName,
long iActivatedShape,
long iDefaultShape) As CATIASweptVolume
Creates a new SweptVolume and adds it to the SweptVolumes collection. This function is deprecated.
Returns:
The created SweptVolume
Example:
The following example creates a SweptVolume newSweptVolume in the SweptVolume collection.
 Set SweptVolume = SweptVolumes.Add
 
o Func AddFromSweptAble(CATBaseDispatch iSweptAble,
CATSafeArrayVariant iProductsToSwept,
CATIAProduct iProductReference,
long iLODMode,
double iAccuracy,
CATBSTR iShapeName,
long iActivatedShape,
long iDefaultShape) As CATIASweptVolume
Creates a new SweptVolume and adds it to the SweptVolumes collection. This function is deprecated.
Returns:
The created SweptVolume
o Sub CleanUp()
Cleans up.
o Func ComputeASweptVolume(CATIAReplay iReplay,
CATBaseDispatch iSweptAble,
CATSafeArrayVariant iProductsToSwept,
CATIAProduct iProductReference,
long iLODMode,
double iAccuracy,
double iWrappingGrain,
double iWrappingRatio,
double iSimplifAccuracy) As CATIADocument
Computes a swept volume. This function is deprecated.
Returns:
The created SweptVolume
o Func ComputeASweptVolumeFromReplay(CATIAReplay iReplay,
CATSafeArrayVariant iProductsToSwept,
CATIAProduct iProductReference,
long iLODMode,
double iAccuracy,
double iWrappingGrain,
double iWrappingRatio,
double iSimplifAccuracy) As CATIADocument
Computes a swept volume. This function is deprecated.
Returns:
The created SweptVolume
o Func ComputeASweptVolumeFromSweptable(CATBaseDispatch iSweptAble,
CATSafeArrayVariant iProductsToSwept,
CATIAProduct iProductReference,
long iLODMode,
double iAccuracy,
double iWrappingGrain,
double iWrappingRatio,
double iSimplifAccuracy) As CATIADocument
Computes a swept volume. This function is deprecated.
Returns:
The created SweptVolume
o Sub ComputeSweptVolumes(CATIAReplay iReplay,
CATBaseDispatch iSweptAble,
CATSafeArrayVariant iProductsToSwept,
CATIAProduct iProductReference,
long iLODMode,
double iAccuracy,
long iPerformWrapping,
long iPerformSimplif,
double iWrappingGrain,
double iWrappingRatio,
double iSimplifAccuracy,
CATSafeArrayVariant oSweptVolumeDocuments)
Computes a swept volume, from a replay or a track.
Parameters:
iReplay
Replay on which we perfom the swept volume. Can be NULL.
iSweptAble
Track (or any other thing that implements CATISweptAble) on which we perfom the swept volume. Can be NULL.
iProductsToSwept
Selection of products to sweep.
iProductReference
Product taken as a reference.
iLODMode
Do we want levels of details or not?
iAccuracy
Filtering positions parameter.
iPerformWrapping
Do we perform a wrapping?
iPerformSimplif
Do we perform a simplification?
iWrappingGrain
Grain for wrapping.
iWrappingRatio
Offset ratio for wrapping.
iSimplifAccuracy
Accuracy for simplification.
Returns:
oSweptVolumeDocuments: Documents containing the results.
o Sub ComputeSweptVolumesFromReplay(CATIAReplay iReplay,
CATSafeArrayVariant iProductsToSwept,
CATIAProduct iProductReference,
long iLODMode,
double iAccuracy,
long iPerformWrapping,
long iPerformSimplif,
double iWrappingGrain,
double iWrappingRatio,
double iSimplifAccuracy,
CATSafeArrayVariant oSweptVolumeDocuments)
Computes a swept volume from a replay.
Parameters:
iReplay
Replay on which we perfom the swept volume.
iProductsToSwept
Selection of products to sweep.
iProductReference
Product taken as a reference.
iLODMode
Do we want levels of details or not?
iAccuracy
Filtering positions parameter.
iPerformWrapping
Do we perform a wrapping?
iPerformSimplif
Do we perform a simplification?
iWrappingGrain
Grain for wrapping.
iWrappingRatio
Offset ratio for wrapping.
iSimplifAccuracy
Accuracy for simplification.
Returns:
oSweptVolumeDocuments: Documents containing the results.
o Sub ComputeSweptVolumesFromSweptable(CATBaseDispatch iSweptAble,
CATSafeArrayVariant iProductsToSwept,
CATIAProduct iProductReference,
long iLODMode,
double iAccuracy,
long iPerformWrapping,
long iPerformSimplif,
double iWrappingGrain,
double iWrappingRatio,
double iSimplifAccuracy,
CATSafeArrayVariant oSweptVolumeDocuments)
Computes a swept volume from a track.
Parameters:
iSweptAble
Track (or any other thing that implements CATISweptAble) on which we perfom the swept volume.
iProductsToSwept
Selection of products to sweep.
iProductReference
Product taken as a reference.
iLODMode
Do we want levels of details or not?
iAccuracy
Filtering positions parameter.
iPerformWrapping
Do we perform a wrapping?
iPerformSimplif
Do we perform a simplification?
iWrappingGrain
Grain for wrapping.
iWrappingRatio
Offset ratio for wrapping.
iSimplifAccuracy
Accuracy for simplification.
Returns:
oSweptVolumeDocuments: Documents containing the results.
o Sub SetSilhouette(long OnOff)
Adds the possibility to make a silhouette before the swept volume
o Sub SetSpatialSplit(long OnOff)
Adds the possibility to parallelize swept&wrapping after a spatial split. This gains in memory but not in CPU usage (takes longer.)

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