LinkHelperGetDisplacementVectorByRole Method (ILinkService, LinkRole) |
Gets the displacement vector for a given link and role.
Namespace:
AGI.Foundation.Access
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static VectorDisplacement GetDisplacementVectorByRole(
ILinkService link,
LinkRole role
)
Public Shared Function GetDisplacementVectorByRole (
link As ILinkService,
role As LinkRole
) As VectorDisplacement
public:
static VectorDisplacement^ GetDisplacementVectorByRole(
ILinkService^ link,
LinkRole role
)
static member GetDisplacementVectorByRole :
link : ILinkService *
role : LinkRole -> VectorDisplacement
Parameters
- link
- Type: AGI.Foundation.AccessILinkService
The link. - role
- Type: AGI.Foundation.AccessLinkRole
The role for which to obtain the displacement vector.
Return Value
Type:
VectorDisplacementThe displacement vector.
Exceptions See Also