STK ObjectsSend comments on this topic.
RemoveConstraint Method (IAgAccessConstraintCollection)
See Also
EConstraint
Windows





Windows & Linux

Description

Removes a constraint from the collection.

Syntax

[Visual Basic .NET]
Public Sub RemoveConstraint( _
    ByVal EConstraint As AgEAccessConstraints _
)
[C#]
public void RemoveConstraint(
    AgEAccessConstraints EConstraint
);
[Managed C++]
public: void RemoveConstraint(
    AgEAccessConstraints EConstraint
);
[Unmanaged C++]
public: HRESULT RemoveConstraint(
    AgEAccessConstraints EConstraint
);
[Java]
public void removeConstraint(
    AgEAccessConstraints EConstraint
);
[Python - STK API ]
def RemoveConstraint(self, EConstraint:"AgEAccessConstraints") -> None:

Parameters

EConstraint

See Also

Example

Remove an access constraint from a STK Object
[C#]
IAgAccessConstraintCollection accessConstraints = stkobject.AccessConstraints;

// Remove constraints
accessConstraints.RemoveConstraint(AgEAccessConstraints.eCstrSunElevationAngle);
Remove an access constraint from a STK Object
[Visual Basic .NET]
Dim accessConstraints As IAgAccessConstraintCollection = stkobject.AccessConstraints

' Remove constraints
accessConstraints.RemoveConstraint(AgEAccessConstraints.eCstrSunElevationAngle)
© 2024 Analytical Graphics, Inc. All Rights Reserved.