All Frameworks Class Hierarchy This Framework Indexes
CATSchPlatformInterfaces Interface CATISchGRRComp
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATISchGRRComp
Interface to manage the position and orientation of
Schematic component graphic objects.
Role: To query or modify the position and orientation of
a component graphic
Method Index
- o
GetPosition(double*)
- Get the current position of the component.
- o
GetRotationAngle(double*)
- Get the current rotation angle (from x-axis in radian) of the component.
- o
GetScale(double*)
- Get the current scale factor of the component.
- o
GetTransformation2D(double*)
- Get the local coordinate reference frame (with respect to absolute
coordinate system) of the component.
- o
SetPosition(double[2])
- Set the current position of the component.
- o
SetRotationAngle(double)
- Set the current rotation angle (from x-axis in radian) of the component.
- o
SetScale(double)
- Set the current scale factor of the component.
- o
SetTransformation2D(double[6])
- Set the local coordinate reference frame (with respect to absolute
coordinate system) of the component.
Methods
o GetPosition
| public virtual GetPosition( | | oDb2Position) |
-
Get the current position of the component.
- Parameters:
-
- oDb2Position
- The current position of the component.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o GetRotationAngle
| public virtual GetRotationAngle( | | oDb1RotationAngleInRad) |
-
Get the current rotation angle (from x-axis in radian) of the component.
- Parameters:
-
- oDb1RotationAngleInRad
- The current angle of the component in radian.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o GetScale
| public virtual GetScale( | | oDb1ScaleFactor) |
-
Get the current scale factor of the component.
- 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 GetTransformation2D
| public virtual GetTransformation2D( | | oDb6TransMatrix) |
-
Get the local coordinate reference frame (with respect to absolute
coordinate system) of the component.
- Parameters:
-
- oDb6TransMatrix
- See
CATISchCompLocation.GetTransformation2D for explanation of this argument.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o SetPosition
| public virtual SetPosition( | const | oDb2Position) |
-
Set the current position of the component.
- Parameters:
-
- iDb2Position
- The position of the component to be set.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o SetRotationAngle
| public virtual SetRotationAngle( | const | iDb1RotationAngleInRad) |
-
Set the current rotation angle (from x-axis in radian) of the component.
- Parameters:
-
- iDb1RotationAngleInRad
- The rotation angle of the component in radian to be set.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o SetScale
| public virtual SetScale( | const | iDb1ScaleFactor) |
-
Set the current scale factor of the component.
- Parameters:
-
- iDb1ScaleFactor
- The scale factor of the component to be set.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o SetTransformation2D
| public virtual SetTransformation2D( | const | iDb6TransMatrix) |
-
Set the local coordinate reference frame (with respect to absolute
coordinate system) of the component.
- Parameters:
-
- iDb6TransMatrix
- Transformation matrix to be set.
See
CATISchCompLocation.GetTransformation2D for explanation of this argument.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
This object is included in the file: CATISchGRRComp.h