Attitude of the body in its frame (quaternion [x, y, z, w]).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Sphere), | intent(in) | :: | self |
pure function sphere_attitude(self) result(q) class(Sphere), intent(in) :: self real(wp) :: q(4) q = self%sphere_attitude_ end function sphere_attitude