AccessConstraintCentralBodyObstruction#

class ansys.stk.core.stkobjects.AccessConstraintCentralBodyObstruction#

Bases: IAccessConstraint

Class defining constraints in terms of obstruction by a specified central body.

Overview#

is_obstruction_assigned

Check whether a central body is already assigned.

add_obstruction

Add a Central Body Obstruction by Name.

remove_obstruction

Remove a Central Body Obstruction by Name.

assigned_obstructions

Get the Assigned Obstructions.

available_obstructions

Get the Available Obstructions.

Import detail#

from ansys.stk.core.stkobjects import AccessConstraintCentralBodyObstruction

Property detail#

property AccessConstraintCentralBodyObstruction.assigned_obstructions: list#

Get the Assigned Obstructions.

property AccessConstraintCentralBodyObstruction.available_obstructions: list#

Get the Available Obstructions.

Method detail#

AccessConstraintCentralBodyObstruction.is_obstruction_assigned(self, obstruction: str) bool#

Check whether a central body is already assigned.

Parameters:

obstruction : str

Returns:

bool

AccessConstraintCentralBodyObstruction.add_obstruction(self, obstruction: str) None#

Add a Central Body Obstruction by Name.

Parameters:

obstruction : str

Returns:

None

AccessConstraintCentralBodyObstruction.remove_obstruction(self, obstruction: str) None#

Remove a Central Body Obstruction by Name.

Parameters:

obstruction : str

Returns:

None