STK Vector Geometry ToolSend comments on this topic.
HasCyclicDependency Method (IAgCrdnPointRefTo)
See Also
Point
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 
[C#]
public bool HasCyclicDependency(
    IAgCrdnPoint Point
);
[Managed C++]
public: bool HasCyclicDependency(
    IAgCrdnPoint ^ Point
);
[Java]
public bool hasCyclicDependency(
    IAgCrdnPoint Point
);
[Unmanaged C++]
public: HRESULT HasCyclicDependency(
    IAgCrdnPoint * Point,
    VARIANT_BOOL * pRetVal
);

Parameters

Point

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
© 2020 Analytical Graphics, Inc. All Rights Reserved.