All Frameworks  Class Hierarchy  This Framework  Indexes   

CATPlantShipInterfaces Interface CATIPspPartConnector

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


interface CATIPspPartConnector

Interface to manage the technological data on connectors.
Role: To access the technological data on connectors.


Method Index


o GetAlignType(CATPspPartConnectorTypeEnum&)
Retrieve the alignment type for this connector.
o GetAlignmentConnector(IUnknown**)
Get alignment connector.
o GetAlignmentDirection(CATIMovable*,CATMathDirection&)
Retrieve the CATMathDirection of outward normal to the face place position associated with this connector.
o GetClockType(CATPspPartConnectorTypeEnum&)
Retrieve the clocking type (how symmetric this end is) for this connector.
o GetConnectorMathPlane(CATIMovable*,CATMathPlane&)
Retrieve the CATMathPlane that contains the connector position (plane origin), alignment direction (plane z-axis), and the up direction (plane y-axis).
o GetConnectorNumber(int&)
Get connector number.
o GetDatumConnector(IUnknown**)
Get datum connector.
o GetFaceConnector(IUnknown**)
Get face connector.
o GetFaceType(CATPspPartConnectorTypeEnum&)
Retrieve the face type (normal or "transparent" support) for this connector.
o GetOrientationConnector(IUnknown**)
Get orientation connector.
o GetPosition(CATIMovable*,CATMathPoint&)
Retrieve the CATMathPoint of the position associated with this connector.
o GetUpDirection(CATIMovable*,CATMathDirection&)
Retrieve the CATMathDirection of the upward normal to the up plane associated with this connector.
o ListAttrNames(CATListValCATUnicodeString*&)
Returns a list of attribute names associated to this connector.
o SetAlignmentConnector(IUnknown*,CATPspPartConnectorTypeEnum)
Set the alignment connector.
o SetAttrNames(CATListValCATUnicodeString*)
Set a list of attribute names associated to this connector.
o SetDatumConnector(IUnknown*)
Set the datum connector.
o SetFaceConnector(IUnknown*,CATPspPartConnectorTypeEnum)
Set the face connector.
o SetOrientationConnector(IUnknown*,CATPspPartConnectorTypeEnum)
Set the orientation connector.

Methods


o GetAlignType
public virtual GetAlignType( oAlignType)
Retrieve the alignment type for this connector.
Parameters:
oAlignType
The alignment type.
See also:
CATPspPartConnectorTypeEnum
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetAlignmentConnector
public virtual GetAlignmentConnector( oConnector)
Get alignment connector.
Parameters:
oConnector
[out, IUnknown#Release] Alignment connector.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetAlignmentDirection
public virtual GetAlignmentDirection( const iRelAxis,
oAlignmentDirection)
Retrieve the CATMathDirection of outward normal to the face place position associated with this connector.
Parameters:
iRelAxis
The relative axis object (NULL means relative to parent).
oAlignmentDirection
The align direction as a CATMathDirection.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetClockType
public virtual GetClockType( oClockType)
Retrieve the clocking type (how symmetric this end is) for this connector.
Parameters:
oClockType
The clock type.
See also:
CATPspPartConnectorTypeEnum
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetConnectorMathPlane
public virtual GetConnectorMathPlane( const iRelAxis,
oMathPlane)
Retrieve the CATMathPlane that contains the connector position (plane origin), alignment direction (plane z-axis), and the up direction (plane y-axis).
Parameters:
iRelAxis
The relative axis object (NULL means relative to parent).
oMathPlane
The connector face plane.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetConnectorNumber
public virtual GetConnectorNumber( oCtrNumber)
Get connector number.
Parameters:
oCtrNumber
Connector number on this connector.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetDatumConnector
public virtual GetDatumConnector( oConnector)
Get datum connector.
Parameters:
oConnector
[out, IUnknown#Release] Datum connector.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetFaceConnector
public virtual GetFaceConnector( oConnector)
Get face connector.
Parameters:
oConnector
[out, IUnknown#Release] Face connector.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetFaceType
public virtual GetFaceType( oFaceType)
Retrieve the face type (normal or "transparent" support) for this connector.
Parameters:
oFaceType
The face type.
See also:
CATPspPartConnectorTypeEnum
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetOrientationConnector
public virtual GetOrientationConnector( oConnector)
Get orientation connector.
Parameters:
oConnector
[out, IUnknown#Release] Orientation connector.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetPosition
public virtual GetPosition( const iRelAxis,
oPosition)
Retrieve the CATMathPoint of the position associated with this connector.
Parameters:
iRelAxis
The relative axis object (NULL means relative to parent).
oPosition
The position as CATMathPoint.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetUpDirection
public virtual GetUpDirection( const iRelAxis,
oUpDirection)
Retrieve the CATMathDirection of the upward normal to the up plane associated with this connector.
Parameters:
iRelAxis
The relative axis object (NULL means relative to parent).
oUpDirection
The up direction as CATMathDirection.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o ListAttrNames
public virtual ListAttrNames( opListOfAttrNames)
Returns a list of attribute names associated to this connector.
Parameters:
opListOfAttrNames
List of attribute names associated.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o SetAlignmentConnector
public virtual SetAlignmentConnector( iConnector,
iEAlignType)
Set the alignment connector.
Parameters:
iConnector
The new sub-alignment connector.
iEAlignType
The new alignment connector type.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o SetAttrNames
public virtual SetAttrNames( const ipListOfAttrNames)
Set a list of attribute names associated to this connector.
Parameters:
opListOfAttrNames
List of attribute names associated.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o SetDatumConnector
public virtual SetDatumConnector( iConnector)
Set the datum connector.
Parameters:
iConnector
The new sub-datum connector.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o SetFaceConnector
public virtual SetFaceConnector( iConnector,
iEFaceType)
Set the face connector.
Parameters:
iConnector
The new sub-Face connector.
iEFaceType
The new Face connector type.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o SetOrientationConnector
public virtual SetOrientationConnector( iConnector,
iEClockType)
Set the orientation connector.
Parameters:
iConnector
The new sub-orientation connector.
iEClockType
The new orientation connector clock type.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

This object is included in the file: CATIPspPartConnector.h

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