All Frameworks  Class Hierarchy  This Framework  Indexes   

ProductStructure Interface 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 ApplyTransformation( const iTransfo,
const iPosObj,
const Id= CATPrd3D,
const iInCtxt= TRUE)
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 GetAbsPosition( oPos)
Retrieves position in global context.
Parameters:
oPos
matrix
o GetPosition
public virtual GetPosition( const iPosObj,
const Id= CATPrd3D,
const iInCtxt= TRUE)
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 SetAbsPosition( const iPos)
Sets position in absolute 3D-coordinate space (global context).
Parameters:
iPos
transformation to set.
o SetPosition
public virtual SetPosition( const iTransfo,
const iPosObj,
const Id= CATPrd3D,
const InCtxt= TRUE)
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.