All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SimulationInterfaces Interface CATIReplayChannelProductMove

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---SimulationInterfaces.CATIReplayChannel
        |
        +---CATIReplayChannelProductMove
 

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


interface CATIReplayChannelProductMove

Edit a channel product move.

A product move channel describes the evolution of the position of a product over time. It is made of samples : each sample contains the position of the product at a given time.


Method Index


o AddSample(double,double[12])
Add a sample to the channel.
o GetProduct(CATBaseUnknown**)
Get the product which is moved.
o GetSample(int,double[12])
Read the position of one sample of the channel.
o RemoveSample(int)
Remove one sample of the channel.

Methods


o AddSample
public virtual HRESULT AddSample(double iTime,
double[12] iPosition) const=0
Add a sample to the channel.
Parameters:
iTime
Time of the sample. This time must be greater or equal to 0.
iPosition
Position of the product at the time of the sample. The 9 first values control the orientation. The 3 last values control the translation.
Returns:
HRESULT
o GetProduct
public virtual HRESULT GetProduct(CATBaseUnknown** oProduct) const=0
Get the product which is moved.
Parameters:
oProduct
The product.
Returns:
HRESULT
See also:
CATIProduct
o GetSample
public virtual HRESULT GetSample(int iIndex,
double[12] oPosition) const=0
Read the position of one sample of the channel.
Parameters:
iIndex
The index of the sample. This index must be greater or equal to 1 and lower or equal to the number of samples.
oPosition
Position of the product at the time of the sample. The 9 first values control the orientation. The 3 last values control the translation.
Returns:
HRESULT
o RemoveSample
public virtual HRESULT RemoveSample(int iIndex) const=0
Remove one sample of the channel.
Parameters:
iIndex
The index of the sample. This index must be greater or equal to 1 and lower or equal to the number of samples.
Returns:
HRESULT

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

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