STK Vector Geometry ToolSend comments on this topic.
HasCyclicDependency Method (IAgCrdnAxesRefTo)
See Also
Axes
Specify a valid axes object.
Windows





Windows & Linux

Description

Tests whether the input component and the target component form a cyclic dependency.

Syntax

[Visual Basic .NET]
Public Function HasCyclicDependency( _
    ByVal Axes As IAgCrdnAxes _
) As Boolean
[C#]
public bool HasCyclicDependency(
    IAgCrdnAxes Axes
);
[Managed C++]
public: bool HasCyclicDependency(
    IAgCrdnAxes ^ Axes
);
[Unmanaged C++]
public: HRESULT HasCyclicDependency(
    IAgCrdnAxes * Axes,
    VARIANT_BOOL * pRetVal
);
[Java]
public bool hasCyclicDependency(
    IAgCrdnAxes Axes
);
[Python - STK API ]
def HasCyclicDependency(self, Axes:"IAgCrdnAxes") -> bool:

Parameters

Axes
Specify a valid axes object.

See Also

Example

Check whether the reference axes has a cyclic dependency on another axes.
[C#]
//Check if the reference axes has a cyclic dependency on another axes.
if (axesRefTo.HasCyclicDependency(axes))
{
    Console.WriteLine("The axes {0} has a cyclic dependency on axes {1}.", ((IAgCrdn)axesRefTo.GetAxes()).Name, ((IAgCrdn)axes).Name);
}
Check whether the reference axes has a cyclic dependency on another axes.
[Visual Basic .NET]
'Check if the reference axes has a cyclic dependency on another axes.
If axesRefTo.HasCyclicDependency(axes) Then
	Console.WriteLine("The axes {0} has a cyclic dependency on axes {1}.", DirectCast(axesRefTo.GetAxes(), IAgCrdn).Name, DirectCast(axes, IAgCrdn).Name)
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.