All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATSchPlatformInterfaces Interface CATISchCntrConnect
System.IUnknown
|
+---CATISchCntrConnect
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATISchCntrConnect
Interface to manage connect information of
Schematic connector objects.
Role: To query the validity of possible connection
and the transformation needed to accomplish it.
Method Index
- o
GetTransformMatrix(CATISchGRRCntr*,double*)
- Get the transformation matrix needed to transform 'this' connector to be
coincident and aligned with the 'connect to' connector.
- o
OKToConnect(CATISchGRRCntr*,CATBoolean*)
- Query whether 'this' connector can be connected to the specified
connector, that is, whether their positions are coincident.
Methods
o GetTransformMatrix
-
Get the transformation matrix needed to transform 'this' connector to be
coincident and aligned with the 'connect to' connector.
NOTE: "alignment" in this context means that the connectors' alignment
vectors are facing opposite directions.
- Parameters:
-
- iGRRCntr
- Pointer to the image of the 'connect to' connector.
- oDb6Matrix
- Transformation matrix.
- See also:
- CATISchCompLocation.GetTransformation2D for explanation of this argument.
- Returns:
- An HRESULT value.
Legal values:
- CATReturnSuccess
- operation is successful
- CATReturnFailure
- operation failed
o OKToConnect
-
Query whether 'this' connector can be connected to the specified
connector, that is, whether their positions are coincident.
- Parameters:
-
- iGRRCntr
- Pointer to the image of the 'connect to' connector.
- oBYes
- If TRUE, then it is OK to connect.
- Returns:
- An HRESULT value.
Legal values:
- CATReturnSuccess
- operation is successful
- CATReturnFailure
- operation failed
This object is included in the file: CATISchCntrConnect.h