Position of the body's center in its frame (scene units).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Sphere), | intent(in) | :: | self |
pure function sphere_position(self) result(p) class(Sphere), intent(in) :: self real(wp) :: p(3) p = self%sphere_position_ end function sphere_position