All Frameworks  Class Hierarchy  This Framework  Indexes   

CATSchPlatformInterfaces Interface CATISchMovable

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


interface CATISchMovable

Interface to transform Schematic component objects.
Role: To do transformation such as tranlate, rotate and scale a schematic object.


Method Index


o Rotate(double)
Rotate a schematic object with an angle in radian.
o ScaleSelectedObjects(CATIUnknownList*,double)
Scale a list of schematic objects with a scale factor.
o Scale(double)
Scale a schematic object with a scale factor.
o Transform(double[6])
Transform a schematic object with a transformation matrix.
o Translate(double[2])
Translate a schematic object with a vector.

Methods


o Rotate
public virtual Rotate( const iDb1RotationAngleInRadian)
Rotate a schematic object with an angle in radian.
Parameters:
iDb1RotationAngleInRadian
Rotation angle (from x-axis) in radian.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o ScaleSelectedObjects
public virtual ScaleSelectedObjects( iLCntblToScale,
const iDb1ScaleFactor)
Scale a list of schematic objects with a scale factor.
Parameters:
iLCntblToScale
List of selected objects to scale.
oDb1ScaleFactor
The current scale factor.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o Scale
public virtual Scale( const iDb1ScaleFactor)
Scale a schematic object with a scale factor.
Parameters:
oDb1ScaleFactor
The current scale factor of the component.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o Transform
public virtual Transform( const iDb6TransMatrix)
Transform a schematic object with a transformation matrix.
Parameters:
iDb6TransMatrix
Transformation matrix. See
CATISchCompLocation.GetTransformation2D for explanation of this argument.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o Translate
public virtual Translate( const iDb2Vector)
Translate a schematic object with a vector.
Parameters:
iDb2Vector
X-Y components of a translation vector.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

This object is included in the file: CATISchMovable.h

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