STK Vector Geometry ToolSend comments on this topic.
HasCyclicDependency Method (IAgCrdnPlaneRefTo)
See Also
Plane
Specify a valid plane.
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 Plane As IAgCrdnPlane _
) As Boolean
[C#]
public bool HasCyclicDependency(
    IAgCrdnPlane Plane
);
[Managed C++]
public: bool HasCyclicDependency(
    IAgCrdnPlane ^ Plane
);
[Unmanaged C++]
public: HRESULT HasCyclicDependency(
    IAgCrdnPlane * Plane,
    VARIANT_BOOL * pRetVal
);
[Java]
public bool hasCyclicDependency(
    IAgCrdnPlane Plane
);
[Python - STK API ]
def HasCyclicDependency(self, Plane:"IAgCrdnPlane") -> bool:

Parameters

Plane
Specify a valid plane.

See Also

Example

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