All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ProductStructure Interface CATIMovable

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIMovable
 

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


interface CATIMovable

Interface to manage the movable object.
Role: a Movable is an object that is intended to define its coordinates in a particular coordinates 3D-space.
This interface provides methods to retrieve or set the relative position of the item, in the coordinate space of the "context". The context can be a Movable. There are two particular contexts : the default one and the global one (which is not a movable).

See also:
CATMathTransformation


Method Index


o ApplyTransformation(CATMathTransformation&,CATIMovable_var&,CATRepMode&,CATBoolean)
Applies a transformation in coordinate space of the context.
o GetAbsPosition(CATMathTransformation&)
Retrieves position in global context.
o GetPosition(CATIMovable_var&,CATRepMode&,CATBoolean)
Retrieves position in given context.
o SetAbsPosition(CATMathTransformation&)
Sets position in absolute 3D-coordinate space (global context).
o SetPosition(CATMathTransformation&,CATIMovable_var&,CATRepMode&,CATBoolean)
Sets the relative position in given context.

Methods


o ApplyTransformation
public virtual HRESULT ApplyTransformation( const CATMathTransformation& iTransfo,
const CATIMovable_var& iPosObj,
const CATRepMode& Id= CATPrd3D,
const CATBoolean iInCtxt= TRUE) const=0
Applies a transformation in coordinate space of the context.
Parameters:
iTransfo
transformation to set.
iPosObj
Movable context to define position.
If NULL, it uses default context.
Id
don't use it. Always 3D.
iInCtxt
don't use it. Always TRUE.
o GetAbsPosition
public virtual HRESULT GetAbsPosition(CATMathTransformation& oPos)const = 0
Retrieves position in global context.
Parameters:
oPos
matrix
o GetPosition
public virtual CATMathTransformation GetPosition( const CATIMovable_var& iPosObj,
const CATRepMode& Id= CATPrd3D,
const CATBoolean iInCtxt= TRUE) const=0
Retrieves position in given context.
Parameters:
iPosObj
Movable context to define position.
If NULL, it uses default context.
Id
don't use it. Always 3D.
iInCtxt
don't use it. Always TRUE.
Returns:
a CATMathTransformation which is a matrix
o SetAbsPosition
public virtual HRESULT SetAbsPosition( const CATMathTransformation& iPos)= 0
Sets position in absolute 3D-coordinate space (global context).
Parameters:
iPos
transformation to set.
o SetPosition
public virtual HRESULT SetPosition( const CATMathTransformation& iTransfo,
const CATIMovable_var& iPosObj,
const CATRepMode& Id= CATPrd3D,
const CATBoolean InCtxt= TRUE) const=0
Sets the relative position in given context.
Note: If iPosObj is NULL, it uses default context.
Parameters:
iTransfo
transformation to set.
iPosObj
Movable context to define position.
If NULL, it uses default context.
Id
don't use it. Always 3D.
InCtxt
don't use it. Always TRUE.

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

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