All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SketcherInterfaces Interface CATIMove2D

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

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


interface CATIMove2D

Geometric transformation of 2D elements.
Role: This interface is used to transform 2D elements onto their background plane. The method CATIMove2D.GetMovable gives the list of elements which have to be transformated to transform the element itself. BeforeMove() and AfterMove() are new methods to improve behavior of 2D transformation.


Method Index


o AfterMove()
Allows to restore normal behavior after moving.
o BeforeMove()
Allows to take any kind of measure before moving.
o GetMovable()
Gives the list of elements which have to be transformated to transform the element itself.
o Move(CATMathTransformation2D&)
Geometric transformation of 2D elements.

Methods


o AfterMove
public virtual HRESULT AfterMove()= 0
Allows to restore normal behavior after moving.
o BeforeMove
public virtual HRESULT BeforeMove()= 0
Allows to take any kind of measure before moving.
o GetMovable
public virtual CATListValCATBaseUnknown_var GetMovable()= 0
Gives the list of elements which have to be transformated to transform the element itself.
Returns:
CATLISTV(CATBaseUnknown_var) The list of handlers corresponds to the family which has to be transformed.
o Move
public virtual void Move(CATMathTransformation2D& ioTransfo) = 0
Geometric transformation of 2D elements.
Parameters:
CATMathTransformation2D
&ioTransfo [inout] The 2D transformation list of handlers corresponding to the expected family.

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

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