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





Description

Sets a new restriction type.

Syntax

[Visual Basic .NET]
Public Sub SetRestrictionType( _
   ByVal Restriction As AgECnCnstrRestriction _
) 

[C#]
public void SetRestrictionType(
AgECnCnstrRestriction Restriction
);

[Managed C++]
public: void SetRestrictionType(
AgECnCnstrRestriction Restriction
);

[Java]
public  setRestrictionType(
AgECnCnstrRestriction Restriction
);

[Unmanaged C++]
public: HRESULT SetRestrictionType(
AgECnCnstrRestriction Restriction
);

Parameters

Restriction
Member Value Description
eCnCnstrRestrictionUnknown -1 Unknown or not supported criterion.
eCnCnstrRestrictionAllOf 0 AND criterion. The constraint is satisfied if all objects in the constellation meet the conditions for chain access.
eCnCnstrRestrictionAnyOf 1 EITHER/OR criterion. The constraint is satisfied if any one object in the constellation meets the conditions for chain access.
eCnCnstrRestrictionAtLeastN 2 AND/OR criterion. The constraint is satisfied if at least the specified number of objects in the constellation meet the conditions for chain access.
eCnCnstrRestrictionExactlyN 3 ONLY criterion. This constraint is satisfied if the exact specified number of objects in the constellation meet the conditions for chain access.
eCnCnstrRestrictionNoneOf 4 ONLY criterion. The constraint is satisfied if NO objects in the constellation meet the conditions for chain access.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1