IOrientation#
- class ansys.stk.core.stkutil.IOrientation#
Interface to set and retrieve the orientation method.
Overview#
Change the orientation method to the type specified. |
|
Assign a new orientation method. |
|
Set orientation using the AzEl representation. |
|
Set orientation using the Euler angles representation. |
|
Set orientation using the Quaternion representation. |
|
Set orientation using the YPR angles representation. |
|
Get orientation using the AzEl representation. |
|
Get orientation using the Euler angles representation. |
|
Get orientation using the Quaternion representation. |
|
Get orientation using the YPR angles representation. |
|
Return the AzEl elements as an array. |
|
Return the Euler elements as an array. |
|
Return the Quaternion elements as an array. |
|
Return the YPR Angles elements as an array. |
Return the orientation method currently being used. |
Import detail#
from ansys.stk.core.stkutil import IOrientation
Property detail#
- property IOrientation.orientation_type: OrientationType#
Return the orientation method currently being used.
Method detail#
- IOrientation.convert_to(self, type: OrientationType) IOrientation #
Change the orientation method to the type specified.
- Parameters:
type :
OrientationType
- Returns:
IOrientation
- IOrientation.assign(self, orientation: IOrientation) None #
Assign a new orientation method.
- Parameters:
orientation :
IOrientation
- Returns:
- IOrientation.assign_az_el(self, azimuth: Any, elevation: Any, about_boresight: AzElAboutBoresight) None #
Set orientation using the AzEl representation.
- IOrientation.assign_euler_angles(self, sequence: EulerOrientationSequenceType, a: Any, b: Any, c: Any) None #
Set orientation using the Euler angles representation.
- IOrientation.assign_quaternion(self, qx: float, qy: float, qz: float, qs: float) None #
Set orientation using the Quaternion representation.
- IOrientation.assign_ypr_angles(self, sequence: YPRAnglesSequence, yaw: Any, pitch: Any, roll: Any) None #
Set orientation using the YPR angles representation.
- IOrientation.query_az_el(self) Tuple[Any, Any, AzElAboutBoresight] #
Get orientation using the AzEl representation.
- Returns:
Any, AzElAboutBoresight]
- IOrientation.query_euler_angles(self, sequence: EulerOrientationSequenceType) Tuple[Any, Any, Any] #
Get orientation using the Euler angles representation.
- Parameters:
sequence :
EulerOrientationSequenceType
- Returns:
Any]
- IOrientation.query_quaternion(self) Tuple[float, float, float, float] #
Get orientation using the Quaternion representation.
- Returns:
Tuple[float, float, float, float]
- IOrientation.query_ypr_angles(self, sequence: YPRAnglesSequence) Tuple[Any, Any, Any] #
Get orientation using the YPR angles representation.
- Parameters:
sequence :
YPRAnglesSequence
- Returns:
Any]
- IOrientation.query_euler_angles_array(self, sequence: EulerOrientationSequenceType) list #
Return the Euler elements as an array.
- Parameters:
sequence :
EulerOrientationSequenceType
- Returns:
- IOrientation.query_quaternion_array(self) list #
Return the Quaternion elements as an array.
- Returns:
- IOrientation.query_ypr_angles_array(self, sequence: YPRAnglesSequence) list #
Return the YPR Angles elements as an array.
- Parameters:
sequence :
YPRAnglesSequence
- Returns: