All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATSchPlatformInterfaces Interface CATISchMovable
System.IUnknown
|
+---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
Scale(double)
- Scale a schematic object with a scale factor.
- o
ScaleSelectedObjects(CATIUnknownList*,double)
- Scale a list of schematic objects 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 HRESULT Rotate( | const double | iDb1RotationAngleInRadian) = 0 |
-
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 Scale
public virtual HRESULT Scale( | const double | iDb1ScaleFactor) = 0 |
-
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 ScaleSelectedObjects
-
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 Transform
public virtual HRESULT Transform( | const double[6] | iDb6TransMatrix) = 0 |
-
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 HRESULT Translate( | const double[2] | iDb2Vector) = 0 |
-
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