AGI STK Objects 11Send comments on this topic.
SetToRestrictionType Method (IAgCnConstraints)
See Also 
Restriction
Windows






Windows & Linux

Description

Sets a new restriction type when in the to access position.

Syntax

[Visual Basic .NET]
Public Sub SetToRestrictionType( _
   ByVal Restriction As AgECnCnstrRestriction _
) 
[C#]
public void SetToRestrictionType(
   AgECnCnstrRestriction Restriction
);
[Managed C++]
public: void SetToRestrictionType(
   AgECnCnstrRestriction Restriction
);
[Java]
public  setToRestrictionType(
   AgECnCnstrRestriction Restriction
);
[Unmanaged C++]
public: HRESULT SetToRestrictionType(
   AgECnCnstrRestriction Restriction
);

Parameters

Restriction
MemberValueDescription
eCnCnstrRestrictionUnknown-1Unknown or not supported criterion.
eCnCnstrRestrictionAllOf0AND criterion. The constraint is satisfied if all objects in the constellation meet the conditions for chain access.
eCnCnstrRestrictionAnyOf1EITHER/OR criterion. The constraint is satisfied if any one object in the constellation meets the conditions for chain access.
eCnCnstrRestrictionAtLeastN2AND/OR criterion. The constraint is satisfied if at least the specified number of objects in the constellation meet the conditions for chain access.
eCnCnstrRestrictionExactlyN3ONLY criterion. This constraint is satisfied if the exact specified number of objects in the constellation meet the conditions for chain access.
eCnCnstrRestrictionNoneOf4ONLY criterion. The constraint is satisfied if NO objects in the constellation meet the conditions for chain access.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.