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






Windows & Linux

Description

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

Syntax

[Visual Basic .NET]
Public Sub SetFromRestrictionType( _
   ByVal Restriction As AgECnCnstrRestriction _
) 
[C#]
public void SetFromRestrictionType(
   AgECnCnstrRestriction Restriction
);
[Managed C++]
public: void SetFromRestrictionType(
   AgECnCnstrRestriction Restriction
);
[Java]
public  setFromRestrictionType(
   AgECnCnstrRestriction Restriction
);
[Unmanaged C++]
public: HRESULT SetFromRestrictionType(
   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.