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

Parameters

Point
Specify a valid VGT point object.

See Also

Example

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