The transform from this frame to the root of its tree, through the first parent at each level.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ReferenceFrame), | intent(in) | :: | self |
recursive function world_matrix(self) result(m) class(ReferenceFrame), intent(in) :: self real(wp) :: m(4,4) m = self%local_matrix() if (self%n_parents > 0) m = matmul(self%parents(1)%p%world_matrix(), m) end function world_matrix